fix expired credit card
authordemeritcowboy <demeritcowboy@hotmail.com>
Sat, 1 Jan 2022 19:25:41 +0000 (14:25 -0500)
committerdemeritcowboy <demeritcowboy@hotmail.com>
Sat, 1 Jan 2022 19:25:41 +0000 (14:25 -0500)
tests/phpunit/CRM/Contribute/Form/Contribution/ConfirmTest.php

index 8c7d6509b460338b5d77ed06a035c26a1e338503..36b2a5e14ba9df4d7b18ba2e90a8a7f9f930d7cb 100644 (file)
@@ -77,7 +77,7 @@ class CRM_Contribute_Form_Contribution_ConfirmTest extends CiviUnitTestCase {
       'cvv2' => 234,
       'credit_card_exp_date' => [
         'M' => 2,
-        'Y' => 2021,
+        'Y' => CRM_Utils_Time::date('Y') + 1,
       ],
       'credit_card_type' => 'Visa',
       'email-5' => 'test@test.com',