From ba1c90575c47f9cb5c2ce0a20da90d3b1739b5fa Mon Sep 17 00:00:00 2001
From: buli <137736985@qq.com>
Date: 星期二, 26 四月 2022 11:47:45 +0800
Subject: [PATCH] 0425 Commit
---
force-app/main/default/classes/PIHelperTest.cls | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/force-app/main/default/classes/PIHelperTest.cls b/force-app/main/default/classes/PIHelperTest.cls
index 52ac40a..30dbcae 100644
--- a/force-app/main/default/classes/PIHelperTest.cls
+++ b/force-app/main/default/classes/PIHelperTest.cls
@@ -13,7 +13,7 @@
PIHelper.saveTransLog('module','vadsjngrqvjca','avgwshDFcxAS', 'DSAGSFBQdfdsoav','test','0','testmsg');
Test.stopTest();
}
- /*static testMethod void confirmTrans() {
+ static testMethod void confirmTrans() {
Test.setMock(HttpCalloutMock.class, new TestDataUtility.CreatePIHelperHttpMock());
Test.startTest();
List<PIHelper.idList> idList = new List<PIHelper.idList>();
@@ -23,14 +23,14 @@
idList.add(pid);
PIHelper.confirmTrans('module',1,'vadsjngrqvjca' ,'avgwshDFcxAS' ,'DSAGSFBQdfdsoav','https://sfpi-mebg-test.olympuschina.com/api/contact/insert',idList);
Test.stopTest();
- }*/
- /*static testMethod void confirmFileTrans() {
+ }
+static testMethod void confirmFileTrans() {
Test.setMock(HttpCalloutMock.class, new TestDataUtility.CreatePIHelperHttpMock());
Test.startTest();
PIHelper.confirmFileTrans('module',1,'vadsjngrqvjca' ,'avgwshDFcxAS','DSAGSFBQdfdsoav','https://sfpi-mebg-test.olympuschina.com/api/contact/insert');
Test.stopTest();
- }*/
- /*static testMethod void insertConfirmTrans() {
+ }
+static testMethod void insertConfirmTrans() {
Test.setMock(HttpCalloutMock.class, new TestDataUtility.CreatePIHelperHttpMock());
Test.startTest();
List<PIHelper.idList> idList = new List<PIHelper.idList>();
@@ -40,6 +40,6 @@
idList.add(pid);
PIHelper.insertConfirmTrans('module',1,'vadsjngrqvjca' ,'avgwshDFcxAS' ,0,'https://sfpi-mebg-test.olympuschina.com/api/contact/insert',idList);
Test.stopTest();
- }*/
+ }
}
\ No newline at end of file
--
Gitblit v1.9.1