[freeside-commits] branch master updated. 319dfa0901a8bc9897e700390d3e97128d155819

Jonathan Prykop jonathan at 420.am
Mon Dec 5 06:53:54 PST 2016


The branch, master has been updated
       via  319dfa0901a8bc9897e700390d3e97128d155819 (commit)
      from  81a5c124dca2504b9cb7b8dd2e2d9a72eb15c3e1 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 319dfa0901a8bc9897e700390d3e97128d155819
Author: Jonathan Prykop <jonathan at freeside.biz>
Date:   Mon Dec 5 08:53:13 2016 -0600

    71513: Card tokenization [minor test tweaks]

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: '.$!);
 

-----------------------------------------------------------------------

Summary of changes:
 FS/t/suite/13-tokenization.t |   21 +--------------------
 1 file changed, 1 insertion(+), 20 deletions(-)




More information about the freeside-commits mailing list