summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
Diffstat (limited to 't')
-rw-r--r--t/card_arb.t2
-rw-r--r--t/lib/test_account.pl1
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?