Vamshi Krishna Pemberthi (IBM) a posé une question dans #Salesforce Developer23 juin 2021, 11:38Is there any way to test the apex class methods which are based on caseHistory Object?1 réponseTriTrier par dateTrier par ordre d’utilitéTrier par dateRéponse acceptéePranit Jangada (IBM)1 oct. 2021, 13:46Hello Vamshi, You need to create fake data for CaseHistory (just like you create the records for Case Object in test method) and use that data in the test class.
Réponse acceptéePranit Jangada (IBM)1 oct. 2021, 13:46Hello Vamshi, You need to create fake data for CaseHistory (just like you create the records for Case Object in test method) and use that data in the test class.