From 5939e645da0bf72cb68d3d19bb6fbaba68f02ff9 Mon Sep 17 00:00:00 2001
From: 涂煌豪 <tuhuanghao@prec-tech.com>
Date: 星期六, 07 五月 2022 13:48:15 +0800
Subject: [PATCH] 【委托】中山医院服务合同设备清单排版调整
---
force-app/main/default/classes/NFM603ControllerTest.cls | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/force-app/main/default/classes/NFM603ControllerTest.cls b/force-app/main/default/classes/NFM603ControllerTest.cls
index 1688f92..d30f234 100644
--- a/force-app/main/default/classes/NFM603ControllerTest.cls
+++ b/force-app/main/default/classes/NFM603ControllerTest.cls
@@ -305,5 +305,13 @@
Database.executeBatch(new NFM603Batch(idList),100);
Test.stopTest();
}
+ @isTest
+ static void NFM603execute(){
+ List<BatchIF_Log__c> logList = [select id from BatchIF_Log__c];
+ Test.startTest();
+ BatchIF_Log__c iflog = logList[0];
+ NFM603Controller.ManualExecute(iflog.Id);
+ Test.stopTest();
+ }
}
\ No newline at end of file
--
Gitblit v1.9.1