
3 respuestas
Hi Roy
I hope this will help you if it works mark question as solvedRegardsAshif@isTest
public class DeactivateInactiveUsersTest {
public static testMethod void testschedule() {
Test.StartTest();
DeactivateInactiveUsers sh1 = new DeactivateInactiveUsers();
String sch = '0 0 23 * * ?';
system.schedule('Test Territory Check', sch, sh1);
Test.stopTest();
}
}