Establecer como favoritoVamshi Krishna Pemberthi (IBM) preguntó en #Salesforce Developer23 jun 2021, 11:38Is there any way to test the apex class methods which are based on caseHistory Object?1 respuestaOrdenarClasificar por fechaClasificar por más útilClasificar por fechaRespuesta aceptadaPranit 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.Agregar un comentarioEscribir una respuesta...NegritaCursivaSubrayadoTachadoLista con viñetasLista numeradaAgregar vínculoBloque de códigoInsertar imagenAdjuntar archivosURL de vínculoCancelarGuardar0/9000Responder
Respuesta aceptadaPranit 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.