1 # Before `make install' is performed this script should be runnable with
2 # `make test'. After `make install' it should work as `perl eWay.t'
5 BEGIN { plan tests => 5 };
6 use Business::OnlineThirdPartyPayment::Interswitchng;
9 my ($tx, $txnum, $res);
10 ok($tx = new Business::OnlineThirdPartyPayment("Interswitchng"));
16 action => 'Authorization Only',
17 description => 'Business::OnlineThirdPartyPayment test',
22 ok($tx->test_transaction(1));
24 ok($tx->is_success());