Salesforce Certified Application Architect

Wednesday 13 January 2016

How to cover mark Red colour in Test classes










Since i am using trigger after update therefore we should pass as mentioned under :-
Application app = new Application(Status='Submitted',      
                Type__c='new',
               
                Customer__c='5',
                Branch=branch1.id,
                Area = area1.id,
                Meeting = mc.id,
                Loan='42645' ,
                product = Prod.Id 
             
          );
         
          insert app ;
          app .Status = 'Draft';
          update app ;



No comments:

Post a Comment

Salesforce Certified Application Architect & Certified Data Architecture and Management Designer Exam

How to pass Salesforce Certified Data Architecture and Management Designer Exam This exam was 1st architect exam for me. Its not that muc...