From 697794f729f3c93b2c16aed8fc78d8547d7d33dd Mon Sep 17 00:00:00 2001 From: sunxia <sunxia@prec-tech.com> Date: 星期一, 11 四月 2022 15:04:02 +0800 Subject: [PATCH] NFM606测试类修改 --- force-app/main/default/classes/NFM606ControllerTest.cls | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/force-app/main/default/classes/NFM606ControllerTest.cls b/force-app/main/default/classes/NFM606ControllerTest.cls index 63448f1..daccc06 100644 --- a/force-app/main/default/classes/NFM606ControllerTest.cls +++ b/force-app/main/default/classes/NFM606ControllerTest.cls @@ -4,6 +4,7 @@ @testSetup static void makeTestRepair() { Oly_TriggerHandler.bypass('UserProfileHandler'); + Oly_TriggerHandler.bypass('ContactTriggerHandler'); // 鍖婚櫌鐨勮褰曠被鍨� List<RecordType> rectCo = [select Id from RecordType where IsActive = true and SobjectType = 'Account' and DeveloperName = 'Hp']; // 鎴樼暐绉戝 娑堝寲绉戠殑璁板綍绫诲瀷 @@ -125,7 +126,7 @@ upsert company1; Contact contact111 = new Contact(); contact111.AccountId = company1.Id; - contact111.MobilePhone = '1111111111111111111111111'; + contact111.MobilePhone = '11111111111'; contact111.Isactive__c = '123'; contact111.FirstName = '璨换鑰�'; contact111.LastName = 'test1缁忛攢鍟�'; -- Gitblit v1.9.1