From 7be2215f6c5b5d0c58874fd7c830abdd062e2185 Mon Sep 17 00:00:00 2001
From: GWY <guweiyi@prec-tech.com>
Date: 星期二, 10 五月 2022 14:00:46 +0800
Subject: [PATCH] 更改合同外贸pdf显示文字,无影响。
---
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