From b98c031f4bb9ccef46005694a0c4837b1b4d853b Mon Sep 17 00:00:00 2001 From: 张宇恒 <bxyun0@163.com> Date: 星期四, 28 四月 2022 09:32:24 +0800 Subject: [PATCH] 修理触发条件、调用方法修改 --- force-app/main/default/classes/RepairHandlerTest.cls | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/force-app/main/default/classes/RepairHandlerTest.cls b/force-app/main/default/classes/RepairHandlerTest.cls index e90d72f..b1d643f 100644 --- a/force-app/main/default/classes/RepairHandlerTest.cls +++ b/force-app/main/default/classes/RepairHandlerTest.cls @@ -349,7 +349,7 @@ Username = 'Test' + timenow + '@sunbridge.com', IsActive = true, EmailEncodingKey = 'ISO-2022-JP', TimeZoneSidKey = 'Asia/Tokyo', LocaleSidKey = 'ja_JP', LanguageLocaleKey = 'ja', ProfileId = System.Label.ProfileId_SystemAdmin, - Dept__c = '鍖荤枟鍗庡寳钀ヤ笟鏈儴', Province__c = '鍖椾含'); + Dept__c = '鍖荤枟鍗庡寳钀ヤ笟鏈儴', Province__c = '鍖椾含',Employee_No__c = '12345'); // 2022-04-25 zhangyuheng update 'Employee_No__c = '12345'' List<Profile> p = [Select Id From Profile Where Name = '2S1_閿�鍞尰闄㈡媴褰�']; System.assertEquals(p.size(), 1); @@ -359,7 +359,7 @@ Username = 'Test1' + timenow + '@sunbridge.com', IsActive = true, EmailEncodingKey = 'ISO-2022-JP', TimeZoneSidKey = 'Asia/Tokyo', LocaleSidKey = 'ja_JP', LanguageLocaleKey = 'ja', ProfileId = p[0].Id, - Dept__c = '鍖荤枟鍗庡寳钀ヤ笟鏈儴', Province__c = '鍖椾含'); + Dept__c = '鍖荤枟鍗庡寳钀ヤ笟鏈儴', Province__c = '鍖椾含',Employee_No__c = '23456'); // 2022-04-25 zhangyuheng update 'Employee_No__c = '23456'' List<User> us = new List<User>(); us.add(user1); us.add(user2); -- Gitblit v1.9.1