move "payee" to a new() option, use "RECURRIN" for check # if one is missing...?
[Business-OnlinePayment-OpenECHO.git] / t / crypt_bad_check.t
index f47f53e..cdbb8ac 100644 (file)
@@ -12,7 +12,9 @@ if ( $@ ) {
 use Business::OnlinePayment;
 
 # checks are broken it seems
-my $ctx = new Business::OnlinePayment("OpenECHO");
+my $ctx = new Business::OnlinePayment("OpenECHO",
+  payee          => 'Tofu Heavy Enterprises, GmbH',
+);
 $ctx->content(
     type           => 'ECHECK',
     'login'        => '123>4685706',
@@ -27,7 +29,7 @@ $ctx->content(
     routing_code   => '026009593',
     bank_name      => 'First National Test Bank',
     phone          => '420-420-5454',
-    payee          => 'Tofu Heavy Enterprises, GmbH',
+    #payee          => 'Tofu Heavy Enterprises, GmbH',
     check_number   => '420',
 );
 $ctx->test_transaction(1); # test, dont really charge