diff --git a/tests/phpunit/CRM/Contribute/Form/ContributionTest.php b/tests/phpunit/CRM/Contribute/Form/ContributionTest.php index 41a9bddfabf7..9a5863a081a3 100644 --- a/tests/phpunit/CRM/Contribute/Form/ContributionTest.php +++ b/tests/phpunit/CRM/Contribute/Form/ContributionTest.php @@ -1026,7 +1026,7 @@ public function testPartialPaymentWithCreditCard() { 'total_amount' => 40, 'currency' => 'USD', 'financial_type_id' => 1, - 'payment_instrument_id' => array_search('Credit card', $this->paymentInstruments), + 'payment_instrument_id' => array_search('Credit Card', $this->paymentInstruments), 'payment_processor_id' => $this->paymentProcessorID, 'credit_card_exp_date' => ['M' => 5, 'Y' => 2025], 'credit_card_number' => '411111111111111',