From 1fb0d62c569a30bc0b4c30f48212c5582233184b Mon Sep 17 00:00:00 2001 From: GWY <guweiyi@prec-tech.com> Date: 星期三, 11 五月 2022 19:01:36 +0800 Subject: [PATCH] 更改逻辑,无影响。 --- force-app/main/default/classes/SearchMemberPageControllerTest.cls | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/force-app/main/default/classes/SearchMemberPageControllerTest.cls b/force-app/main/default/classes/SearchMemberPageControllerTest.cls index d6a2289..30a3db8 100644 --- a/force-app/main/default/classes/SearchMemberPageControllerTest.cls +++ b/force-app/main/default/classes/SearchMemberPageControllerTest.cls @@ -1,5 +1,11 @@ @isTest private class SearchMemberPageControllerTest { + + @TestSetup + static void setup(){ + TestDataUtility.CreatePIPolicyConfigurations(new string[]{'Contact'}); + } + static testMethod void testMethod1() { List<RecordType> rectIE = [select Id from RecordType where IsActive = true and SobjectType = 'Account' and Name = 'Customer IE']; -- Gitblit v1.9.1