update test to use Test::More and add hardcoded test account from auth.net, RT#22076
[Business-OnlinePayment-AuthorizeNet.git] / t / load.t
index 5d2dfc1..2e4c366 100644 (file)
--- a/t/load.t
+++ b/t/load.t
@@ -1,5 +1,5 @@
-BEGIN { $| = 1; print "1..1\n"; }
-END {print "not ok 1\n" unless $loaded;}
-use Business::OnlinePayment::AuthorizeNet;
-$loaded = 1;
-print "ok 1\n";
+#!/usr/bin/perl -w
+
+use Test::More tests => 1;
+
+use_ok 'Business::OnlinePayment::AuthorizeNet';