From eeb7c0a2d6f037d515bb822d739036b69c4dc73a Mon Sep 17 00:00:00 2001 From: 沙世明 <shashiming@prec-tech.com> Date: 星期五, 08 四月 2022 17:14:12 +0800 Subject: [PATCH] Merge branch 'master' of http://47.92.229.245:8089/r/OlyMEBG --- force-app/main/default/classes/AssessmentReportControllerTest.cls | 6 +++++- 1 files changed, 5 insertions(+), 1 deletions(-) diff --git a/force-app/main/default/classes/AssessmentReportControllerTest.cls b/force-app/main/default/classes/AssessmentReportControllerTest.cls index 1b068a9..5e1494a 100644 --- a/force-app/main/default/classes/AssessmentReportControllerTest.cls +++ b/force-app/main/default/classes/AssessmentReportControllerTest.cls @@ -1,7 +1,9 @@ @isTest private class AssessmentReportControllerTest { - @TestSetup static void init() { + @TestSetup + + static void init() { RecordType rectCo = [select Id from RecordType where IsActive = true and SobjectType = 'Account' and DeveloperName = 'Hp']; List<RecordType> rectDpt = [select Id from RecordType where IsActive = true and SobjectType = 'Account' and DeveloperName IN ('Department_GI', 'Department_BF') order by DeveloperName desc]; @@ -59,6 +61,8 @@ cam.Mailflg_before15__c = true; cam.Mailflg_before7__c = true; cam.Mailflg_after3__c = true; + cam.HostName__c = '111'; + cam.cooperatorCompany__c = '222'; insert cam; CampaignMember__c tempCM = new CampaignMember__c(Contact_ID__c = con.id, Campaign__c = cam.id); insert tempCM; -- Gitblit v1.9.1