summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
Diffstat (limited to 't')
-rw-r--r--t/bad_card.t10
-rw-r--r--t/crypt_bad_card.t10
2 files changed, 18 insertions, 2 deletions
diff --git a/t/bad_card.t b/t/bad_card.t
index f744c61..b41c71a 100644
--- a/t/bad_card.t
+++ b/t/bad_card.t
@@ -20,8 +20,16 @@ $tx->content(
password => 'testing',
action => 'Normal Authorization',
amount => '32.32',
- card_number => '4242424242424242',
+ card_number => '4342424242424242',
expiration => '08/06',
+ cvv2 => '420',
+ name => 'Tofu Beast',
+ address => '123 Anystreet',
+ city => 'Anywhere',
+ state => 'UT',
+ zip => '84058',
+ country => 'US',
+ email => 'ivan-capstone-test@420.am',
);
$tx->test_transaction(1); # test, dont really charge
$tx->submit();
diff --git a/t/crypt_bad_card.t b/t/crypt_bad_card.t
index cc36356..1072e2d 100644
--- a/t/crypt_bad_card.t
+++ b/t/crypt_bad_card.t
@@ -19,8 +19,16 @@ $tx->content(
password => 'testing',
action => 'Normal Authorization',
amount => '32.32',
- card_number => '4242424242424242',
+ card_number => '4342424242424242',
expiration => '08/06',
+ cvv2 => '420',
+ name => 'Tofu Beast',
+ address => '123 Anystreet',
+ city => 'Anywhere',
+ state => 'UT',
+ zip => '84058',
+ country => 'US',
+ email => 'ivan-capstone-test@420.am',
);
$tx->test_transaction(1); # test, dont really charge
$tx->submit();