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/NewCrossRegionalControllerText.cls |   15 ---------------
 1 files changed, 0 insertions(+), 15 deletions(-)

diff --git a/force-app/main/default/classes/NewCrossRegionalControllerText.cls b/force-app/main/default/classes/NewCrossRegionalControllerText.cls
index 468555f..138fbef 100644
--- a/force-app/main/default/classes/NewCrossRegionalControllerText.cls
+++ b/force-app/main/default/classes/NewCrossRegionalControllerText.cls
@@ -1,11 +1,5 @@
 @isTest
 private class NewCrossRegionalControllerText {
-    
-    @TestSetup
-    static void setup(){
-        TestDataUtility.CreatePIPolicyConfigurations(new string[]{'Opportunity','SBG001','Contact'}); 
-    }
-    
     static testMethod void testMethod1() {
         List<RecordType> rectIE = [select Id from RecordType where IsActive = true and SobjectType = 'Account' and Name = 'Customer IE'];
         Account accIE = new Account(
@@ -63,12 +57,6 @@
             TradeType__c = 'Taxation'
         );
         insert opp1;
-        
-        OpportunityContactRole ocr = new OpportunityContactRole(OpportunityId=opp1.Id,ContactId=con.Id,Role  = 'End user' , IsPrimary = true);
-        insert ocr;
-        
-        
-        
 
         PageReference page = new PageReference('/apex/NewCrossHighOpportunity?accid=' + accIE.Id + '&conId=' + con.Id);
         System.Test.setCurrentPage(page);
@@ -146,9 +134,6 @@
             TradeType__c = 'Taxation'
         );
         insert opp1;
-        
-        OpportunityContactRole ocr = new OpportunityContactRole(OpportunityId=opp1.Id,ContactId=con.Id,Role  = 'End user' , IsPrimary = true);
-        insert ocr;
 
         PageReference page = new PageReference('/apex/NewCrossRegionalSalesOpportunity?accid=' + accIE.Id + '&conId=' + con.Id);
         System.Test.setCurrentPage(page);

--
Gitblit v1.9.1