From fd2184ee47221684ceccf93b7a65428835055253 Mon Sep 17 00:00:00 2001
From: buli <137736985@qq.com>
Date: 星期三, 06 四月 2022 11:55:06 +0800
Subject: [PATCH] Merge branch 'PIPLDeploy0405'
---
force-app/main/default/classes/SLAReportDetailsControllerTest.cls | 12 +++++++++---
1 files changed, 9 insertions(+), 3 deletions(-)
diff --git a/force-app/main/default/classes/SLAReportDetailsControllerTest.cls b/force-app/main/default/classes/SLAReportDetailsControllerTest.cls
index 4786ab6..a9ea524 100644
--- a/force-app/main/default/classes/SLAReportDetailsControllerTest.cls
+++ b/force-app/main/default/classes/SLAReportDetailsControllerTest.cls
@@ -1,5 +1,11 @@
@isTest
private class SLAReportDetailsControllerTest {
+
+ @testSetup
+ static void setUp(){
+ TestDataUtility.CreatePIPolicyConfigurations( new string[]{'Contact'});
+ }
+
//鏈夋姤鍛婁功
static testMethod void testMethod1() {
@@ -84,7 +90,7 @@
Daily_Report__c dr3 = new Daily_Report__c();
dr3.Reporter__c = UserInfo.getUserId();
dr3.Reported_Date__c = Date.today().addDays(4);
- dr3.Status__c = '鐢宠珛涓�';
+ dr3.Status__c = '浣滄垚涓�';
insert dr3;
Event__c event = new Event__c();
@@ -208,7 +214,7 @@
Daily_Report__c dr3 = new Daily_Report__c();
dr3.Reporter__c = UserInfo.getUserId();
dr3.Reported_Date__c = Date.today().addDays(4);
- dr3.Status__c = '鐢宠珛涓�';
+ dr3.Status__c = '浣滄垚涓�';
insert dr3;
Event__c event = new Event__c();
@@ -331,7 +337,7 @@
Daily_Report__c dr3 = new Daily_Report__c();
dr3.Reporter__c = UserInfo.getUserId();
dr3.Reported_Date__c = Date.today().addDays(4);
- dr3.Status__c = '鐢宠珛涓�';
+ dr3.Status__c = '浣滄垚涓�';
insert dr3;
Event__c event = new Event__c();
--
Gitblit v1.9.1