projects
/
Business-OnlinePayment-AuthorizeNet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
add ARB (recurring authorizations/subscriptions) support
[Business-OnlinePayment-AuthorizeNet.git]
/
t
/
lib
/
test_account.pl
diff --git
a/t/lib/test_account.pl
b/t/lib/test_account.pl
index
38b282b
..
0b06973
100644
(file)
--- 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;