From 4420517bbbffea48cabe7a7dcdf2e1c4b440fc85 Mon Sep 17 00:00:00 2001
From: GWY <guweiyi@prec-tech.com>
Date: 星期一, 30 五月 2022 16:15:26 +0800
Subject: [PATCH] 两个LS特殊条件在说明的增减
---
force-app/main/default/classes/SearchContactControllerTest.cls | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/force-app/main/default/classes/SearchContactControllerTest.cls b/force-app/main/default/classes/SearchContactControllerTest.cls
index 092f899..f455f2b 100644
--- a/force-app/main/default/classes/SearchContactControllerTest.cls
+++ b/force-app/main/default/classes/SearchContactControllerTest.cls
@@ -8,15 +8,18 @@
TestDataUtility.CreatePIPolicyConfiguration('Contact');
Contact con = TestDataUtility.CreateContacts(1)[0];
con.AWS_Data_Id__c = 'davdsvgrqcx';
+ con.AccountId = '0010K00001aqioMQAQ';
update con;
List<String> awsList = new List<String>();
awsList.add(con.AWS_Data_Id__c);
+ awsList.add(con.AccountId);
String awsListJson = JSON.serialize(awsList);
String url = ApexPages.currentPage().getParameters().put('accountId',con.AccountId);
Test.startTest();
SearchContactController scc = new SearchContactController();
- SearchContactController.searchContacts(awsListJson);
+ SearchContactController.searchContacts(awsListJson,'','');
+ SearchContactController.searchContactsNoPI('');
scc.searchKeyWord = 'test';
Test.stopTest();
}
--
Gitblit v1.9.1