From bfca7a84bec815da594f1d12558535ed06d2490b Mon Sep 17 00:00:00 2001
From: 沙世明 <shashiming@prec-tech.com>
Date: 星期二, 13 九月 2022 09:57:32 +0800
Subject: [PATCH] 本地提交备份

---
 force-app/main/default/classes/DNUpsertScheduleTest.cls |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/force-app/main/default/classes/DNUpsertScheduleTest.cls b/force-app/main/default/classes/DNUpsertScheduleTest.cls
index 97fc9a4..e6951aa 100644
--- a/force-app/main/default/classes/DNUpsertScheduleTest.cls
+++ b/force-app/main/default/classes/DNUpsertScheduleTest.cls
@@ -3,7 +3,7 @@
 
     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';
 
         System.Test.startTest();
         // Schedule the test job
@@ -15,7 +15,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));
         System.Test.StopTest();
     }
      static testMethod void testassignOneMinute() {

--
Gitblit v1.9.1