Aggiungi ai preferitiVamshi Krishna Pemberthi (IBM) ha fatto una domanda in #Salesforce Developer23 giu 2021, 11:38Is there any way to test the apex class methods which are based on caseHistory Object?1 rispostaOrdinaOrdina per dataOrdina in base alla maggiore utilitàOrdina per dataRisposta accettataPranit Jangada (IBM)1 ott 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.Aggiungi un commentoScrivi una risposta...GrassettoCorsivoSottolineaBarratoElenco puntatoElenco numeratoAggiungi linkBlocco codiceInserisci immagineAllega fileURL del linkAnnullaSalva0/9000Rispondi
Risposta accettataPranit Jangada (IBM)1 ott 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.