You need to sign in to do that
Don't have an account?
Nishigandha Jadhav
Need To write test class for this trigger (Account_License_Type_del__c -(Formula Field))
trigger Contactid on Case (before update) { for(Case c:trigger.new){ if(c.Account_License_Type_del__c!=null){ c.ContactId='0035C00000I4gjl'; } } }
Note: Not covering inside if statement.
Note: Not covering inside if statement.
The second one .. you need to create a test class data so that case record will evaluate the Account_License_Type_del__c formula to true