From 0953b3b5fcf19c627c6479a6b86648df653c40db Mon Sep 17 00:00:00 2001
From: buli <137736985@qq.com>
Date: 星期一, 09 五月 2022 17:50:33 +0800
Subject: [PATCH] SF PIPL Page Fix Lookup Required issue

---
 force-app/main/default/classes/OrderPdf2ControllerTest.cls |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/force-app/main/default/classes/OrderPdf2ControllerTest.cls b/force-app/main/default/classes/OrderPdf2ControllerTest.cls
index efc5fdb..ed740dc 100644
--- a/force-app/main/default/classes/OrderPdf2ControllerTest.cls
+++ b/force-app/main/default/classes/OrderPdf2ControllerTest.cls
@@ -1,6 +1,12 @@
 @isTest
 private class OrderPdf2ControllerTest {
 
+    @TestSetup
+    static void setup(){
+        TestDataUtility.CreatePIPolicyConfigurations(new string[]{'Contact','Opportunity','Order'});
+    }
+    
+    
 	@isTest static void test_init1() {
         OrderPdf2Controller.asd();
         List<RecordType> rectDealer = [select Id from RecordType where IsActive = true and SobjectType = 'Account' and Name = 'Dealer'];

--
Gitblit v1.9.1