From cc7487a59bd4b0fa5bed1dd59f6d0565ace81b8b Mon Sep 17 00:00:00 2001
From: 李金换 <lijinhuan@prec-tech.com>
Date: 星期五, 21 四月 2023 09:48:22 +0800
Subject: [PATCH] opd计划Cl3
---
force-app/main/default/classes/ViewParticipantsControllerTest.cls | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/force-app/main/default/classes/ViewParticipantsControllerTest.cls b/force-app/main/default/classes/ViewParticipantsControllerTest.cls
index 7af996e..0300e86 100644
--- a/force-app/main/default/classes/ViewParticipantsControllerTest.cls
+++ b/force-app/main/default/classes/ViewParticipantsControllerTest.cls
@@ -2,11 +2,12 @@
private class ViewParticipantsControllerTest {
static testMethod void testMethod1() {
TestDataUtility.CreatePIPolicyConfiguration('Contact');
- Contact con = new Contact();
+ CampaignMember__c con = new CampaignMember__c();
Test.startTest();
ApexPages.StandardController sc = new ApexPages.StandardController(con);
ViewParticipantsController vp = new ViewParticipantsController(sc);
+ vp.viewContactId = '123';
Test.stopTest();
}
}
\ No newline at end of file
--
Gitblit v1.9.1