Relative Content

Tag Archive for unit-testingsalesforceapex-codetest-data

Unit Test – CANNOT_INSERT_UPDATE_ACTIVATE_ENTITY

H**ello,
**
My unit test return this error **TestUpdateAccountCA.test TestDataFactory system.DmlException: Update failed. First exception on row 0 with id 801WU00000JRtwkYAD; first error: CANNOT_INSERT_UPDATE_ACTIVATE_ENTITY, CalcultateAmount: execution of BeforeUpdate
caused Constructor not defined: [OrderNetAmountService].(List): [] Class.TestUpdateAccountCA.test: line 24,

Unit Test – CANNOT_INSERT_UPDATE_ACTIVATE_ENTITY

H**ello,
**
My unit test return this error **TestUpdateAccountCA.test TestDataFactory system.DmlException: Update failed. First exception on row 0 with id 801WU00000JRtwkYAD; first error: CANNOT_INSERT_UPDATE_ACTIVATE_ENTITY, CalcultateAmount: execution of BeforeUpdate
caused Constructor not defined: [OrderNetAmountService].(List): [] Class.TestUpdateAccountCA.test: line 24,

Unit Test – CANNOT_INSERT_UPDATE_ACTIVATE_ENTITY

H**ello,
**
My unit test return this error **TestUpdateAccountCA.test TestDataFactory system.DmlException: Update failed. First exception on row 0 with id 801WU00000JRtwkYAD; first error: CANNOT_INSERT_UPDATE_ACTIVATE_ENTITY, CalcultateAmount: execution of BeforeUpdate
caused Constructor not defined: [OrderNetAmountService].(List): [] Class.TestUpdateAccountCA.test: line 24,