diff options
author | ivan <ivan> | 2008-01-12 00:09:29 +0000 |
---|---|---|
committer | ivan <ivan> | 2008-01-12 00:09:29 +0000 |
commit | 2c7a3e7c8a775b93195c231168ea41acd05ef0a5 (patch) | |
tree | 5956dc3f3f8b3dc0d9f3552e86de0604193b943e /t | |
parent | f62baef5adfb6d0e4f70255ca71fc40f5b057c5d (diff) |
Patch from Erik Hollensbe <erikh@opensourcery.com> implementing ard-present data (track1/track2) and the duplicate_window parameter, and test fixes
Diffstat (limited to 't')
-rw-r--r-- | t/card_arb.t | 2 | ||||
-rw-r--r-- | t/lib/test_account.pl | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/t/card_arb.t b/t/card_arb.t index e560339..99f0914 100644 --- a/t/card_arb.t +++ b/t/card_arb.t @@ -27,7 +27,7 @@ $tx->content( card_number => '4007000000027', expiration => expiration_date(), interval => '1 month', - start => '2007-12-01', + start => tomorrow(), periods => '3', ); $tx->test_transaction(1); # test, dont really charge diff --git a/t/lib/test_account.pl b/t/lib/test_account.pl index 0b06973..b129042 100644 --- a/t/lib/test_account.pl +++ b/t/lib/test_account.pl @@ -22,6 +22,7 @@ sub test_account { sub expiration_date { my($month, $year) = (localtime)[4,5]; + $month += 1; $year++; # So we expire next year. $year %= 100; # y2k? What's that? |