From d8dc84a3d56df839895f1c417a4d9cbee763d262 Mon Sep 17 00:00:00 2001
From: 高章伟 <gaozhangwei@prec-tech.com>
Date: 星期五, 03 三月 2023 14:50:59 +0800
Subject: [PATCH] gzw 测试环境代码更新
---
force-app/main/default/classes/OnCallControllerTest.cls | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/force-app/main/default/classes/OnCallControllerTest.cls b/force-app/main/default/classes/OnCallControllerTest.cls
index 9b1790b..0ec23e4 100644
--- a/force-app/main/default/classes/OnCallControllerTest.cls
+++ b/force-app/main/default/classes/OnCallControllerTest.cls
@@ -2,7 +2,7 @@
private class OnCallControllerTest {
@TestSetup
static void makeData(){
- TestDataUtility.CreatePIPolicyConfiguration('On_Call__c');
+ TestDataUtility.CreatePIPolicyConfigurations(new String[]{'On_Call__c','On_Call__cV2'});
}
static testMethod void testMethod1() {
String onCallJson = '{"Status_c__c":"璺熻繘涓�","segment__c":"'+'000000000000000'+'","OwnerId":"0050l000005fcnt","Responsible_Person_HP__c":"Test","Oncall_report_number_c__c":"Test","Caller_phone__c":"186435431212","Hospital__c":"'+'000000000000000'+'","Trable_occur_day_c__c":"2022/03/24 10:45","Taking_call_Time_c__c":"2022/03/24 10:45","First_ploblem_c__c":"","From_c__c":"","To_c__c":"","Oncall_Equipment__c":"000000000000000","Oncall_Product_manual__c":"","Customer_Problem_c__c":"","FinishDataTime__c":"","Customer_sigh_c__c":false,"Customer_sigh_day_c__c":"","AWS_Data_Id__c":"1234567890"}';
--
Gitblit v1.9.1