Topic Started
This user has not created any forum posts.
Replies Created
Reply to: Salesforce Test Class Error
Tuesday, January 9, 2024 at 06:26amSubscriptions
Topics | Replies | Freshness | Views | Users |
---|---|---|---|---|
We are working on creating Onespan transactions in Salesforce and have written out some Apex Trigger code to assist with the process. |
7 | 2 months 2 weeks ago | 265 |
Subscriptions Release Notes
This user is not subscribed to any release notes.
Hi Duo, Shrishi, Charles,
Just want to quickly pitch in: i'm having the same issue. I've essentially limited the test-code to:
ESL__Package__c TestPackage = new ESL__Package__c();
//TestPackage.ESL__Status__c = 'Draft';
//TestPackage.ESL__Opportunity__c = TestOpportunity.id;
//TestPackage.ESL__Silanis_Package_Id__c = 'Test_ID_For_APEX_Unit_Test';
insert TestPackage;
I've tried above both with the fields added 'in line', on loose lines, and (as displayed above) even commented them out. Sadly without luck, the error persists.
The Debug log seems to indidate that, once I insert the ESL__Package__c object the Managed Package starts doing 'things'. The last 'thing' it does is described/logged as "13:19:07.757 (3207700530)|DML_BEGIN|[734]|Op:Insert|Type:ESL__ReminderConfiguration__c|Rows:1", after that it crashes. I've attached the log to this post.
Can you advise?