From: Eileen McNaughton Date: Sat, 19 Jun 2021 00:24:27 +0000 (+1200) Subject: Fix up on invalid test data X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=4cd86dba0fd536e8291d708ff633e1eb1f94010b;p=civicrm-core.git Fix up on invalid test data --- 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, ]);