From 08a21f49f2eaf9cfc19ceb67b196cc36ba689305 Mon Sep 17 00:00:00 2001 From: buli <137736985@qq.com> Date: 星期五, 13 五月 2022 20:52:25 +0800 Subject: [PATCH] FIxSWOPageIssue --- force-app/main/default/classes/SBG001TriggerHandlerTest.cls | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/force-app/main/default/classes/SBG001TriggerHandlerTest.cls b/force-app/main/default/classes/SBG001TriggerHandlerTest.cls index fe5afbc..1eb7c75 100644 --- a/force-app/main/default/classes/SBG001TriggerHandlerTest.cls +++ b/force-app/main/default/classes/SBG001TriggerHandlerTest.cls @@ -1,5 +1,11 @@ @isTest private class SBG001TriggerHandlerTest { + //add sushanhu for pipl 20220415 + @testSetup + static void makaDate(){ + TestDataUtility.CreatePIPolicyConfiguration('SBG001'); + } + //add sushanhu for pipl 20220415 static testMethod void myUnitTest() { List<RecordType> rectIE = [select Id from RecordType where IsActive = true and SobjectType = 'Account' and Name = 'Customer IE']; List<RecordType> rectDealer = [select Id from RecordType where IsActive = true and SobjectType = 'Account' and Name = 'Dealer']; -- Gitblit v1.9.1