111
沙世明
2022-11-22 928399eceec50e3d37ea08669a12789a9410a9d2
force-app/main/default/classes/EventToEventDetailsScheduleTest.cls
@@ -2,7 +2,7 @@
private class EventToEventDetailsScheduleTest {
    static testMethod void myUnitTest() {
      // 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 ? 2023';
      //System.Test.startTest();
      // Schedule the test job
      String jobId =
@@ -19,7 +19,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',
      System.assertEquals('2023-09-03 00:00:00',
                          String.valueOf(ct.NextFireTime));
      //System.Test.stopTest();
   }