fix testing on 3.x
authorMark Wells <mark@freeside.biz>
Wed, 27 Apr 2016 20:15:42 +0000 (13:15 -0700)
committerMark Wells <mark@freeside.biz>
Wed, 27 Apr 2016 20:16:12 +0000 (13:16 -0700)
FS-Test/share/htpasswd
FS/t/suite/00-new_customer.t
httemplate/elements/header-full.html

index 08f5f81..c059c47 100644 (file)
@@ -1 +1,2 @@
 test:$apr1$jKrlUTN/$WxmsctMWNR5uVpOF9i7QB.
+admin:$apr1$MNKxe/4s$eXM3IraONkkHuCqEaSM/N/
index 8e86459..efda0ad 100755 (executable)
@@ -36,13 +36,13 @@ my %params = (
   billday                 => '1',
   no_credit_limit         => 1,
   # payment method
-  custpaybynum0_payby         => 'CARD',
-  custpaybynum0_payinfo       => '4012888888881881',
-  custpaybynum0_paydate_month => '12',
-  custpaybynum0_paydate_year  => '2020',
-  custpaybynum0_paycvv        => '123',
-  custpaybynum0_payname       => '',
-  custpaybynum0_weight        => 1,
+  payby      => 'CARD',
+  payinfo    => '4012888888881881',
+  exp_month  => '12',
+  exp_year   => '2020',
+  paycvv     => '123',
+  payname    => '',
+  weight     => 1,
 );
 foreach (keys %params) {
   $form->value($_, $params{$_});
index 9b24828..a67538d 100644 (file)
@@ -1,4 +1,3 @@
-<<<<<<< HEAD
 <%doc>
 
 Example:
@@ -241,11 +240,3 @@ if ( scalar(@agentnums) == 1 ) {
 }
 
 </%init>
-=======
-% # for testing, disable the page menus/search boxes
-% if ( $FS::CurrentUser::CurrentUser->option('header-minimal') ) {
-<& header-minimal.html, @_ &>
-% } else {
-<& header-full.html, @_ &>
-% }
->>>>>>> cb6214a... more robust testing platform, #37340