From a3746d3f4996b94f2258c88838fb3fdf65db8e74 Mon Sep 17 00:00:00 2001
From: 涂煌豪 <tuhuanghao@prec-tech.com>
Date: 星期二, 22 三月 2022 14:25:57 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/NFM624Rest'

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

diff --git a/force-app/main/default/classes/SampleInventorySectionControllerTest.cls b/force-app/main/default/classes/SampleInventorySectionControllerTest.cls
index 6584609..50fdfcd 100644
--- a/force-app/main/default/classes/SampleInventorySectionControllerTest.cls
+++ b/force-app/main/default/classes/SampleInventorySectionControllerTest.cls
@@ -7,11 +7,16 @@
             throw new ControllerUtil.myException('not found 鍔炰簨澶� recodetype');
         }
         // 瀹㈡埛
+        Account account2 = new Account();
+		account2.Name = 'test1缁忛攢鍟�';
+        account2.RecordTypeId = '01210000000Qem1';
+        insert account2;
         Account Agency = new Account();
         Agency.RecordTypeId                = rectCo[0].Id;
         Agency.Name                        = 'Katsu 銉嗐偣銉�';
         Agency.Quolified_Approve_Status__c = 'Draft';
         Agency.If_Need_Quolified__c        = true;
+        Agency.ParentId = account2.Id;
         insert Agency;
 
         // 浜у搧

--
Gitblit v1.9.1