From 2f4492ee18f90274582fcc2bb06f5e9bf64136e8 Mon Sep 17 00:00:00 2001 From: buli <137736985@qq.com> Date: 星期五, 13 五月 2022 17:32:14 +0800 Subject: [PATCH] ProdBackup0513 --- force-app/main/default/classes/SWOControllerTest.cls | 8 +------- 1 files changed, 1 insertions(+), 7 deletions(-) diff --git a/force-app/main/default/classes/SWOControllerTest.cls b/force-app/main/default/classes/SWOControllerTest.cls index 4268076..53a5778 100644 --- a/force-app/main/default/classes/SWOControllerTest.cls +++ b/force-app/main/default/classes/SWOControllerTest.cls @@ -2,11 +2,6 @@ private class SWOControllerTest { - @TestSetup - static void setup(){ - TestDataUtility.CreatePIPolicyConfigurations(new string[]{'SWO__c','Contact'}); - } - public static User UserD(){ User user2 = new User(); user2.LastName = 'test2'; @@ -224,7 +219,6 @@ ); insert att; - Test.startTest(); PageReference page = new PageReference('apex/SWOPage?id='+swo.Id +'&type=Product'); System.Test.setCurrentPage(page); SWOController controller = new SWOController(new ApexPages.StandardController(swo)); @@ -291,7 +285,7 @@ controller.addDiagnosisInfo(); controller.openPageSave(); controller.repairReturn(); - Test.stopTest(); + } -- Gitblit v1.9.1