projects
/
Business-OnlinePayment-Skipjack.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added environment variables for overriding HTML and developer serial numbers.
[Business-OnlinePayment-Skipjack.git]
/
t
/
crypt_bad_card_visa.t
diff --git
a/t/crypt_bad_card_visa.t
b/t/crypt_bad_card_visa.t
index
b618670
..
15ea208
100644
(file)
--- a/
t/crypt_bad_card_visa.t
+++ b/
t/crypt_bad_card_visa.t
@@
-18,9
+18,13
@@
my $tx = new Business::OnlinePayment("Skipjack");
#$Business::OnlinePayment::Skipjack::DEBUG = 1;
#$Business::OnlinePayment::Skipjack::DEBUG = 1;
#$Business::OnlinePayment::Skipjack::DEBUG = 1;
#$Business::OnlinePayment::Skipjack::DEBUG = 1;
+my $login = $ENV{'sj_html_serial_number'} || '000944785470';
+my $password = $ENV{'sj_devel_serial_number'} || '100594217288';
+
$tx->content(
type => 'VISA',
$tx->content(
type => 'VISA',
- login => '000368452762', # "HTML serial number"
+ login => $login, # "HTML serial number"
+ password => $password, # "Developer serial number"
action => 'Normal Authorization',
description => 'Business::OnlinePayment::Skipjack test',
amount => '32',
action => 'Normal Authorization',
description => 'Business::OnlinePayment::Skipjack test',
amount => '32',