From ead4df22dca33a867279471821ca675f91dec760 Mon Sep 17 00:00:00 2001 From: buli <137736985@qq.com> Date: 星期六, 14 五月 2022 18:44:54 +0800 Subject: [PATCH] FixIssue0514 --- force-app/main/default/classes/NewHighProductsOppControllerTest.cls | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/force-app/main/default/classes/NewHighProductsOppControllerTest.cls b/force-app/main/default/classes/NewHighProductsOppControllerTest.cls index 5cba708..d1098f7 100644 --- a/force-app/main/default/classes/NewHighProductsOppControllerTest.cls +++ b/force-app/main/default/classes/NewHighProductsOppControllerTest.cls @@ -1,5 +1,11 @@ @isTest private class NewHighProductsOppControllerTest { + + @TestSetup + static void setup(){ + TestDataUtility.CreatePIPolicyConfigurations(new string[]{'Opportunity','SBG001','Contact'}); + } + @isTest static void test_method_one() { List<RecordType> rectIE = [select Id from RecordType where IsActive = true and SobjectType = 'Account' and Name = 'Customer BS']; Account accIE = new Account( -- Gitblit v1.9.1