From b823c7f3569cf9368e2245846e918f78f32e903a Mon Sep 17 00:00:00 2001
From: GWY <guweiyiscp096@foxmail.com>
Date: 星期五, 15 四月 2022 11:38:47 +0800
Subject: [PATCH] Merge branch 'master' of http://47.92.229.245:8089/r/OlympusSSBG

---
 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