From: Eileen McNaughton Date: Mon, 12 Jul 2021 10:54:56 +0000 (+1200) Subject: Remove a couple of instances of 'contribution_mdoe' from tests X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=5e5f5c6350c3219ec06ecd3e8aac35f537d69ff3;p=civicrm-core.git Remove a couple of instances of 'contribution_mdoe' from tests This should not be required - we should pass in correct line items.... --- diff --git a/tests/phpunit/CRM/Contribute/BAO/ContributionTest.php b/tests/phpunit/CRM/Contribute/BAO/ContributionTest.php index 7141f17f89..8b8f2508a8 100644 --- a/tests/phpunit/CRM/Contribute/BAO/ContributionTest.php +++ b/tests/phpunit/CRM/Contribute/BAO/ContributionTest.php @@ -739,7 +739,6 @@ WHERE eft.entity_id = %1 AND ft.to_financial_account_id <> %2"; 'contact_id' => $this->_contactId, 'financial_type_id' => 4, 'contribution_status_id' => 'Pending', - 'contribution_mode' => 'participant', 'participant_id' => $participant->id, 'sequential' => TRUE, 'api.Payment.create' => ['total_amount' => 150], diff --git a/tests/phpunit/CiviTest/CiviUnitTestCase.php b/tests/phpunit/CiviTest/CiviUnitTestCase.php index 75a94b52e5..97f91f596a 100644 --- a/tests/phpunit/CiviTest/CiviUnitTestCase.php +++ b/tests/phpunit/CiviTest/CiviUnitTestCase.php @@ -3555,7 +3555,6 @@ VALUES 'contact_id' => $this->individualCreate(), 'financial_type_id' => 4, 'contribution_status_id' => 'Pending', - 'contribution_mode' => 'participant', ]; foreach ($priceFields['values'] as $key => $priceField) { $orderParams['line_items'][] = [