From 5835379ec30b1667c4e522db9d294c9b7bb8633a Mon Sep 17 00:00:00 2001 From: buli <137736985@qq.com> Date: 星期二, 26 四月 2022 12:00:31 +0800 Subject: [PATCH] SSBG Back up --- force-app/main/default/classes/DeliveryConfirmPDFControllerTest.cls | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/force-app/main/default/classes/DeliveryConfirmPDFControllerTest.cls b/force-app/main/default/classes/DeliveryConfirmPDFControllerTest.cls index 70b650d..62e128b 100644 --- a/force-app/main/default/classes/DeliveryConfirmPDFControllerTest.cls +++ b/force-app/main/default/classes/DeliveryConfirmPDFControllerTest.cls @@ -1,6 +1,12 @@ @isTest private class DeliveryConfirmPDFControllerTest { + @TestSetup + static void setup(){ + TestDataUtility.CreatePIPolicyConfigurations(new string[]{'loaner_application__c'}); + } + + @isTest static void test_method_one() { // Implement test code OlympusCalendar__c oc1 = new OlympusCalendar__c(Date__c = Date.today().addDays(1), ChangeToHoliday__c=false, ChangeToWorkday__c=true); -- Gitblit v1.9.1