From 4cd86dba0fd536e8291d708ff633e1eb1f94010b Mon Sep 17 00:00:00 2001 From: Eileen McNaughton Date: Sat, 19 Jun 2021 12:24:27 +1200 Subject: [PATCH] Fix up on invalid test data --- tests/phpunit/CRM/Event/Form/ParticipantTest.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/phpunit/CRM/Event/Form/ParticipantTest.php b/tests/phpunit/CRM/Event/Form/ParticipantTest.php index d25f82e1af..bac093c808 100644 --- a/tests/phpunit/CRM/Event/Form/ParticipantTest.php +++ b/tests/phpunit/CRM/Event/Form/ParticipantTest.php @@ -526,9 +526,10 @@ class CRM_Event_Form_ParticipantTest extends CiviUnitTestCase { 'register_date' => date('Ymd'), 'status_id' => 1, 'role_id' => 1, + $this->getPriceFieldKey() => $this->getPriceFieldValueID(), + 'priceSetId' => $this->getPriceSetID(), 'event_id' => $this->getEventID(), 'record_contribution' => TRUE, - 'amount' => 100, 'amount_level' => 'blah', 'financial_type_id' => 1, ]); -- 2.25.1