From 511331906b11bc8f104f49b164a0a4b262099b0d Mon Sep 17 00:00:00 2001 From: jeff Date: Tue, 20 Nov 2007 03:03:08 +0000 Subject: add ARB (recurring authorizations/subscriptions) support --- t/lib/test_account.pl | 5 +++++ 1 file changed, 5 insertions(+) (limited to 't/lib/test_account.pl') 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; -- cgit v1.2.1