From: Seamus Lee Date: Wed, 16 Jun 2021 08:18:47 +0000 (+0000) Subject: [php8-compact] Fix Event Form test for php8 by setting totalAmount in the form params X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=1288d65247c90f3584b37503be7a3605804a5120;p=civicrm-core.git [php8-compact] Fix Event Form test for php8 by setting totalAmount in the form params --- diff --git a/tests/phpunit/CRM/Event/Form/Registration/ConfirmTest.php b/tests/phpunit/CRM/Event/Form/Registration/ConfirmTest.php index f973638f34..fb444eb4ff 100644 --- a/tests/phpunit/CRM/Event/Form/Registration/ConfirmTest.php +++ b/tests/phpunit/CRM/Event/Form/Registration/ConfirmTest.php @@ -349,6 +349,7 @@ class CRM_Event_Form_Registration_ConfirmTest extends CiviUnitTestCase { 'id' => $event['id'], 'contributeMode' => 'direct', 'registerByID' => $this->createLoggedInUser(), + 'totalAmount' => 0, 'params' => [ [ 'qfKey' => 'e6eb2903eae63d4c5c6cc70bfdda8741_2801',