summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Prykop <jonathan@freeside.biz>2016-12-05 08:53:13 -0600
committerJonathan Prykop <jonathan@freeside.biz>2016-12-05 08:53:13 -0600
commit319dfa0901a8bc9897e700390d3e97128d155819 (patch)
tree671d240dbc950c8fc51aae51c53a08c04579e250
parent81a5c124dca2504b9cb7b8dd2e2d9a72eb15c3e1 (diff)
71513: Card tokenization [minor test tweaks]
-rwxr-xr-xFS/t/suite/13-tokenization.t21
1 files changed, 1 insertions, 20 deletions
diff --git a/FS/t/suite/13-tokenization.t b/FS/t/suite/13-tokenization.t
index b4d204f..0a965aa 100755
--- a/FS/t/suite/13-tokenization.t
+++ b/FS/t/suite/13-tokenization.t
@@ -137,27 +137,8 @@ ok( $payment[1]->tokenized, "payment is tokenized" );
$payby[1] = $payby[1]->replace_old;
ok( $payby[1]->tokenized, "card is now tokenized" );
-# test db doesn't have this
-#foreach my $pg ($fs->qsearch('payment_gateway')) {
-# unless ($pg->gateway_module eq 'CardFortress') {
-# note('UPGRADING NON-CF PAYMENT GATEWAY');
-# my %pgopts = (
-# gateway => $pg->gateway_module,
-# gateway_login => $pg->gateway_username,
-# gateway_password => $pg->gateway_password,
-# private_key => '/usr/local/etc/freeside/cardfortresstest.txt',
-# );
-# $pg->gateway_module('CardFortress');
-# $pg->gateway_username('cardfortresstest');
-# $pg->gateway_password('(TEST54)');
-# $err = $pg->replace(\%pgopts);
-# last if $err;
-# }
-#}
-#ok( !$err, "remove non-CF payment gateways" ) or BAIL_OUT($err);
-
# invoke the part of freeside-upgrade that tokenizes
-FS::cust_main->queueable_upgrade( quiet => 1 );
+FS::cust_main->queueable_upgrade();
#$err = system('freeside-upgrade','admin');
#ok( !$err, 'tokenizable upgrade' ) or BAIL_OUT('Error string: '.$!);