From 37963a4f1dafc7e8accd8b28204ed1e6b7e29e9d Mon Sep 17 00:00:00 2001
From: 张宇恒 <bxyun0@163.com>
Date: 星期五, 11 三月 2022 20:17:26 +0800
Subject: [PATCH] NFM701_703_707

---
 force-app/main/default/classes/NFM701ControllerTest.cls |   30 +++++++++++++++---------------
 1 files changed, 15 insertions(+), 15 deletions(-)

diff --git a/force-app/main/default/classes/NFM701ControllerTest.cls b/force-app/main/default/classes/NFM701ControllerTest.cls
index 5a4c703..d4309a5 100644
--- a/force-app/main/default/classes/NFM701ControllerTest.cls
+++ b/force-app/main/default/classes/NFM701ControllerTest.cls
@@ -116,24 +116,24 @@
     // static testMethod void testMethod1() {
         
     // }
-    @isTest
-    static void testCallOut1() {
-        List < Account > userList = [select id from Account];
-        // System.assertEquals(userList.size(),10);
-        Test.startTest();
+    // @isTest
+    // static void testCallOut1() {
+    //     List < Account > userList = [select id from Account];
+    //     // System.assertEquals(userList.size(),10);
+    //     Test.startTest();
 
-        List < Id > idList = new List < Id > ();
-        for (Account user: userList) {
-            idList.add(user.Id);
-        }
-        BatchIF_Log__c iflog = new BatchIF_Log__c();
-        iflog.Log__c = 'test start \n';
-        insert iflog;
+    //     List < Id > idList = new List < Id > ();
+    //     for (Account user: userList) {
+    //         idList.add(user.Id);
+    //     }
+    //     BatchIF_Log__c iflog = new BatchIF_Log__c();
+    //     iflog.Log__c = 'test start \n';
+    //     insert iflog;
 
-        NFM701Controller.callout(iflog.Id, idList);
+    //     NFM701Controller.callout(iflog.Id, idList);
 
-        Test.stopTest();
-    }
+    //     Test.stopTest();
+    // }
     @isTest
     static void testCallOut2() {
                 List < RecordType > rectCo00 = [select Id from RecordType where IsActive = true and SobjectType = 'Account'

--
Gitblit v1.9.1