Ajouter aux favorisVamshi 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.Ajouter un commentaireRédiger une réponse...GrasItaliqueSoulignerBarréListe à pucesListe numérotéeAjouter un lienBloc de codeInsérer une imageJoindre des fichiersURL du lienAnnulerEnregistrer0/9000Répondre
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.