高章伟
2023-03-03 d8dc84a3d56df839895f1c417a4d9cbee763d262
force-app/main/default/classes/RollupToMaintenanceContractScheduleTest.cls
@@ -23,7 +23,7 @@
private class RollupToMaintenanceContractScheduleTest {
    static testMethod void testExecute() {
        // This test runs a scheduled job at midnight Sept. 3rd. 2022
        String CRON_EXP = '0 0 0 3 9 ? 2022';
        String CRON_EXP = '0 0 0 3 9 ? 2050';// 20220908 ljh XLIU-CJ36VZ update 未来时间
        System.Test.startTest();
        // Schedule the test job
@@ -35,7 +35,7 @@
        // Verify the job has not run
        System.assertEquals(0, ct.TimesTriggered);
        // Verify the next time the job will run
        System.assertEquals('2022-09-03 00:00:00', String.valueOf(ct.NextFireTime));
        System.assertEquals('2050-09-03 00:00:00', String.valueOf(ct.NextFireTime));// 20220908 ljh XLIU-CJ36VZ update 未来时间
        System.Test.StopTest();
    }
}