From f9c3b374160d9d9e3ec9aca2488f95a81c4f4b9c Mon Sep 17 00:00:00 2001 From: monishdeb Date: Wed, 25 Nov 2015 17:56:49 +0530 Subject: [PATCH] minor fix --- tests/phpunit/CRM/Contribute/Form/ContributionTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/phpunit/CRM/Contribute/Form/ContributionTest.php b/tests/phpunit/CRM/Contribute/Form/ContributionTest.php index 3c882cbf35..f83024e5b8 100644 --- a/tests/phpunit/CRM/Contribute/Form/ContributionTest.php +++ b/tests/phpunit/CRM/Contribute/Form/ContributionTest.php @@ -229,7 +229,7 @@ class CRM_Contribute_Form_ContributionTest extends CiviUnitTestCase { ), CRM_Core_Action::ADD); } catch (Civi\Payment\Exception\PaymentProcessorException $e) { - $this->assertEquals('10544: Transaction cannot be processed. Please use a different payment card.', + $this->assertEquals('Transaction cannot be processed. Please use a different payment card.', $e->getMessage()); } $this->callAPISuccessGetCount('Contribution', array( -- 2.25.1