From bc1ded4de6761128cff0df6503ca2c0b316b43e4 Mon Sep 17 00:00:00 2001
From: GWY <guweiyi@prec-tech.com>
Date: 星期四, 05 五月 2022 17:59:04 +0800
Subject: [PATCH] AP6更改
---
force-app/main/default/classes/NewLoanerUserControllerTest.cls | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/force-app/main/default/classes/NewLoanerUserControllerTest.cls b/force-app/main/default/classes/NewLoanerUserControllerTest.cls
index 06698d0..c1d69ac 100644
--- a/force-app/main/default/classes/NewLoanerUserControllerTest.cls
+++ b/force-app/main/default/classes/NewLoanerUserControllerTest.cls
@@ -1,5 +1,11 @@
@isTest
private class NewLoanerUserControllerTest {
+
+ @TestSetup
+ static void setup(){
+ TestDataUtility.CreatePIPolicyConfigurations(new string[]{'loaner_user__c','Contact'});
+ }
+
static void setupTestData() {
OlympusCalendar__c oc1 = new OlympusCalendar__c(Date__c = Date.today().addDays(1), ChangeToHoliday__c=false, ChangeToWorkday__c=true);
OlympusCalendar__c oc2 = new OlympusCalendar__c(Date__c = Date.today().addDays(2), ChangeToHoliday__c=false, ChangeToWorkday__c=true);
--
Gitblit v1.9.1