From 248433c920f935ffcaee52b240f0c162decc1564 Mon Sep 17 00:00:00 2001 From: buli <137736985@qq.com> Date: 星期一, 09 五月 2022 15:16:45 +0800 Subject: [PATCH] NFMUtilUpdate --- force-app/main/default/classes/NewOpportunityControllerTest.cls | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/force-app/main/default/classes/NewOpportunityControllerTest.cls b/force-app/main/default/classes/NewOpportunityControllerTest.cls index af363d0..e9c1c8f 100644 --- a/force-app/main/default/classes/NewOpportunityControllerTest.cls +++ b/force-app/main/default/classes/NewOpportunityControllerTest.cls @@ -1,5 +1,10 @@ @isTest private class NewOpportunityControllerTest { + + @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 IE']; -- Gitblit v1.9.1