From 2aa8da8af66aa8ae00f25831aed6bb0364176e7b Mon Sep 17 00:00:00 2001
From: 高章伟 <gaozhangwei@prec-tech.com>
Date: 星期四, 24 二月 2022 20:32:31 +0800
Subject: [PATCH] 1.15---2.24 变更代码

---
 force-app/main/default/classes/RentalFixtureSetAssignAgencyCtrlTest.cls |   23 +----------------------
 1 files changed, 1 insertions(+), 22 deletions(-)

diff --git a/force-app/main/default/classes/RentalFixtureSetAssignAgencyCtrlTest.cls b/force-app/main/default/classes/RentalFixtureSetAssignAgencyCtrlTest.cls
index 05d1af1..78fe783 100644
--- a/force-app/main/default/classes/RentalFixtureSetAssignAgencyCtrlTest.cls
+++ b/force-app/main/default/classes/RentalFixtureSetAssignAgencyCtrlTest.cls
@@ -568,28 +568,7 @@
 
     }
 
-    @isTest
-    public static void test_applyDate_error2() {
-        setupTestData(false);
-
-        List<Rental_Apply__c> esList = [SELECT Id FROM Rental_Apply__c];
-
-        PageReference ref = new PageReference('/apex/RentalFixtureSetAssignAgency?pt_recid=' + esList[0].Id);
-        Test.setCurrentPage(ref);
-
-        RentalFixtureSetAssignAgencyController controller = new RentalFixtureSetAssignAgencyController();
-        Test.startTest();
-
-        controller.init();
-        controller.applyDate();
-
-        List<Apexpages.message> msgs = ApexPages.getMessages();
-        System.assertEquals('璇疯緭鍏澶囧搧棰勮鍑鸿揣鏃', msgs[0].getDetail());
-
-        Test.stopTest();
-        System.debug('init Success');
-
-    }
+      
 
     @isTest
     public static void test_assign() {

--
Gitblit v1.9.1