From ce8d6d312512cdcaec8696b51869a47f93278ac4 Mon Sep 17 00:00:00 2001 From: Eileen McNaughton Date: Wed, 7 Jun 2023 14:33:49 +1200 Subject: [PATCH] Fix another class to use the createPaidEvent helper --- tests/phpunit/CRM/Core/Payment/BaseIPNTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/phpunit/CRM/Core/Payment/BaseIPNTest.php b/tests/phpunit/CRM/Core/Payment/BaseIPNTest.php index 5668141ef6..e7c56e8106 100644 --- a/tests/phpunit/CRM/Core/Payment/BaseIPNTest.php +++ b/tests/phpunit/CRM/Core/Payment/BaseIPNTest.php @@ -370,7 +370,7 @@ class CRM_Core_Payment_BaseIPNTest extends CiviUnitTestCase { * */ public function _setUpParticipantObjects(string $participantStatus = 'Attended'): void { - $event = $this->eventCreate(['is_email_confirm' => 1, 'email_confirm_text' => '']); + $event = $this->eventCreatePaid(['is_email_confirm' => 1, 'email_confirm_text' => '']); $this->setupContribution(); $this->_eventId = $event['id']; -- 2.25.1