Skip to content

Commit 86f08dc

Browse files
always use the following years date
1 parent 4e59345 commit 86f08dc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

woocommerce-dev-helper.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ public function change_elavon_test_values( $defaults, $gateway ) {
160160

161161
if ( $gateway->is_test_environment() ) {
162162

163-
$defaults['expiry'] = '12/19';
163+
$defaults['expiry'] = '12/' . ( date("y") + 1 );
164164
$defaults['account-number'] = '4124939999999990';
165165
}
166166

0 commit comments

Comments
 (0)