Skip to content

Commit

Permalink
Merge pull request #20623 from seamuslee001/fix_event_form_test_php8
Browse files Browse the repository at this point in the history
[php8-compact] Fix Event Form test for php8 by setting totalAmount in…
  • Loading branch information
eileenmcnaughton authored Jun 18, 2021
2 parents bc5dc12 + 1288d65 commit 659db1b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/phpunit/CRM/Event/Form/Registration/ConfirmTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -349,6 +349,7 @@ public function testOnlineRegNoPrice() {
'id' => $event['id'],
'contributeMode' => 'direct',
'registerByID' => $this->createLoggedInUser(),
'totalAmount' => 0,
'params' => [
[
'qfKey' => 'e6eb2903eae63d4c5c6cc70bfdda8741_2801',
Expand Down

0 comments on commit 659db1b

Please sign in to comment.