From a48ed9f335db52a433a2b343ff9636a28ee8a97f Mon Sep 17 00:00:00 2001
From: buli <137736985@qq.com>
Date: 星期四, 10 三月 2022 18:53:59 +0800
Subject: [PATCH] New xml file for PIPL20220310
---
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