
1 réponse
Hi junkiy, Use this code this will help you. Apex Class:
@isTest
public class customerUpdateTest{
@isTest
private static void testMethod1(){
customer__c cstmer = new customer__c();
cstmer.Status__c = 'Approved';
insert cstmer;
}
}
If you found it useful please appreciate my efforts and mark it as the best answer.
LinkedIn: https://www.linkedin.com/in/soyab-hussain-b380b1194/Regards,Soyab