From c51e03fbf2f6633d8e88aeec9dcb8df13524df8f Mon Sep 17 00:00:00 2001
From: buli <137736985@qq.com>
Date: 星期四, 13 七月 2023 12:00:06 +0800
Subject: [PATCH] backup0713

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

diff --git a/force-app/main/default/classes/LexConsumableAccountControllerTest.cls b/force-app/main/default/classes/LexConsumableAccountControllerTest.cls
index 4bd6161..dd94bf5 100644
--- a/force-app/main/default/classes/LexConsumableAccountControllerTest.cls
+++ b/force-app/main/default/classes/LexConsumableAccountControllerTest.cls
@@ -11,21 +11,23 @@
   static testMethod void testMethod1() {
     User thisUser = [SELECT Id FROM User WHERE Id = :UserInfo.getUserId()];
     System.runAs(thisUser) {
+      List<Account> accList = new List<Account>();
       // 鍙栧紩鍏�
       account1.Name = 'test1鍖婚櫌';
       account1.RecordTypeId = '01210000000QemG';
       //   account1.Is_Active__c = '鑽夋涓�';
-      insert account1;
+      accList.add(account1);
 
       account2.Name = 'test2鍖婚櫌';
       account2.RecordTypeId = '01210000000QemG';
       //   account2.Is_Active__c = '鏈夊姽';
-      insert account2;
+      accList.add(account2);
 
       account3.Name = 'test3鍖婚櫌';
       account3.RecordTypeId = '01210000000QemG';
       //   account3.Is_Active__c = '鐢宠涓�';
-      insert account3;
+      accList.add(account3);
+      insert accList;
 
       consumable.Name = 'test1缁忛攢鍟�';
       consumable.RecordTypeId = '01210000000Qem1';

--
Gitblit v1.9.1