From d8dc84a3d56df839895f1c417a4d9cbee763d262 Mon Sep 17 00:00:00 2001
From: 高章伟 <gaozhangwei@prec-tech.com>
Date: 星期五, 03 三月 2023 14:50:59 +0800
Subject: [PATCH] gzw 测试环境代码更新

---
 force-app/main/default/classes/TransferShippmentReceived5ControllerTest.cls |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/force-app/main/default/classes/TransferShippmentReceived5ControllerTest.cls b/force-app/main/default/classes/TransferShippmentReceived5ControllerTest.cls
index e38c9ec..808dd9b 100644
--- a/force-app/main/default/classes/TransferShippmentReceived5ControllerTest.cls
+++ b/force-app/main/default/classes/TransferShippmentReceived5ControllerTest.cls
@@ -386,13 +386,13 @@
 
             TransferShippmentReceived5Controller controller = new TransferShippmentReceived5Controller();
 
+            Test.startTest();
             controller.init();
 
             System.assertEquals(true, controller.esdList[0].editable);
-            // Test.startTest();
             controller.esdList[0].rec.Inspection_result_after__c = 'OK';
             controller.save();
-            // Test.stopTest();
+            Test.stopTest();
 
             List<TransferApplyDetail__c> erList;
             erList = [select Inspection_result_after__c from TransferApplyDetail__c WHERE Id=:controller.esdList[0].rec.Id];

--
Gitblit v1.9.1