From e3c02c03dd2de442bbced87236f60a13a1cd154e Mon Sep 17 00:00:00 2001
From: 高章伟 <gaozhangwei@prec-tech.com>
Date: 星期四, 02 三月 2023 17:51:57 +0800
Subject: [PATCH] gzw 正式环境最新代码更新

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

diff --git a/force-app/main/default/classes/NFM601ControllerTest.cls b/force-app/main/default/classes/NFM601ControllerTest.cls
index 65b9c78..ee29239 100644
--- a/force-app/main/default/classes/NFM601ControllerTest.cls
+++ b/force-app/main/default/classes/NFM601ControllerTest.cls
@@ -108,7 +108,7 @@
         transfer.Internal_Value__c = '娑堝寲绉�';
         insert transfer;
         BatchIF_Log__c iflog = new BatchIF_Log__c();
-        iflog.Log__c = '{"GeData":[{"HospitalInfoData":[{"StrategicDeptCode":"","Province":"CN-05","ParentCode":"360155鍛煎惛绉�","HospitalRank":"L","HospitalName":"蹇诲窞甯備簩鍏簩鍖婚櫌 鍛煎惛绉� 鍛煎惛涓�绉�","HospitalCode":"","DeptType":"BF","DeptCode":"8087357","City":"CN-0567","Area":"3.瑗垮寳","Accounttype":"3"}],"DealerInfoData":[]}]}';
+        iflog.Log__c = '{"GeData":[{"HospitalInfoData":[{"StrategicDeptCode":"","Province":"CN-05","ParentCode":"360155鍛煎惛绉�","HospitalRank":"L","HospitalName":"蹇诲窞甯備簩鍏簩鍖婚櫌 鍛煎惛绉� 鍛煎惛涓�绉�","HospitalCode":"","DeptType":"BF","DeptCode":"8087357","City":"CN-0567","Area":"3.瑗垮寳","Accounttype":"3","HospitalLevel":"涓�绾х敳"}],"DealerInfoData":[]}]}';
         iflog.Type__c = '601test';
         insert iflog;
     }
@@ -157,7 +157,9 @@
     static void testcallout4() {
         // BatchIF_Log__c iflog = [select id from BatchIF_Log__c where Type__c = '601test'];
         // NFM601Controller.ManualExecute(iflog.Id);
+        Test.startTest();
         Database.executeBatch(new Sfdc2PoAccountBatch(),100);
+        Test.stopTest();
     }
 
     @isTest

--
Gitblit v1.9.1