From e66f8ad0a60c2d1c72fc990f8d592a91f75c2ed0 Mon Sep 17 00:00:00 2001 From: Seamus Lee Date: Fri, 1 Nov 2019 15:50:46 +1100 Subject: [PATCH] [NFC] Fix AuthorizeNet Test failure due to credit card being expired --- tests/phpunit/CRM/Core/Payment/AuthorizeNetTest.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/tests/phpunit/CRM/Core/Payment/AuthorizeNetTest.php b/tests/phpunit/CRM/Core/Payment/AuthorizeNetTest.php index 4060c5b56c..0914995654 100644 --- a/tests/phpunit/CRM/Core/Payment/AuthorizeNetTest.php +++ b/tests/phpunit/CRM/Core/Payment/AuthorizeNetTest.php @@ -99,11 +99,11 @@ class CRM_Core_Payment_AuthorizeNetTest extends CiviUnitTestCase { 'billing_state_province_id-5' => 1012, 'billing_postal_code-5' => 5010, 'billing_country_id-5' => 1228, - 'credit_card_number' => '4007000000027', + 'credit_card_number' => '4444333322221111', 'cvv2' => 123, 'credit_card_exp_date' => [ - 'M' => 10, - 'Y' => 2019, + 'M' => 9, + 'Y' => 2025, ], 'credit_card_type' => 'Visa', 'is_recur' => 1, @@ -126,8 +126,8 @@ class CRM_Core_Payment_AuthorizeNetTest extends CiviUnitTestCase { 'state_province-5' => 'IL', 'billing_country-5' => 'US', 'country-5' => 'US', - 'year' => 2019, - 'month' => 10, + 'year' => 2025, + 'month' => 9, 'ip_address' => '127.0.0.1', 'amount' => 7, 'amount_level' => 0, -- 2.25.1