fix test
[Business-OnlinePayment-IPPay.git] / t / card.t
index dc1d38d..5a227ae 100644 (file)
--- a/t/card.t
+++ b/t/card.t
@@ -97,7 +97,7 @@ my $voidable_amount = 0;
   $tx->submit;
 
   if ($tx->is_success) {
-    my $void_tx = Business::OnlinePayment->new("IPPay", @opts);
+    my $void_tx = Business::OnlinePayment->new("IPPay", %opt );
 
     $tx->content(%content, action       => 'reverse authorization',
                            order_number => $tx->order_number );