diff options
author | jeff <jeff> | 2007-11-20 03:03:08 +0000 |
---|---|---|
committer | jeff <jeff> | 2007-11-20 03:03:08 +0000 |
commit | 511331906b11bc8f104f49b164a0a4b262099b0d (patch) | |
tree | 813b37c784438b6d99e2f854f702e1006fa09cce /t/lib/test_account.pl | |
parent | 63544739784abac4d9740323b609e554d58584e6 (diff) |
add ARB (recurring authorizations/subscriptions) support
Diffstat (limited to 't/lib/test_account.pl')
-rw-r--r-- | t/lib/test_account.pl | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/t/lib/test_account.pl b/t/lib/test_account.pl index 38b282b..0b06973 100644 --- a/t/lib/test_account.pl +++ b/t/lib/test_account.pl @@ -28,4 +28,9 @@ sub expiration_date { return sprintf("%02d/%02d", $month, $year); } +sub tomorrow { + my($day, $month, $year) = (localtime(time+86400))[3..5]; + return sprintf("%04d-%02d-%02d", $year+1900, ++$month, $day); +} + 1; |