From cd730d0b1a775abacfba06003bb58327d5d1fb3c Mon Sep 17 00:00:00 2001
From: 黄千龙 <huangqianlong@prec-tech.com>
Date: 星期四, 02 二月 2023 12:23:31 +0800
Subject: [PATCH] 同步数据
---
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