summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--t/00load.t13
-rw-r--r--t/bop.t7
-rw-r--r--t/load.t7
3 files changed, 13 insertions, 14 deletions
diff --git a/t/00load.t b/t/00load.t
new file mode 100644
index 0000000..0eb8c34
--- /dev/null
+++ b/t/00load.t
@@ -0,0 +1,13 @@
+#!/usr/bin/perl
+
+use strict;
+use warnings;
+use Test::More tests => 2;
+
+BEGIN {
+ use_ok("Business::OnlinePayment")
+ or BAIL_OUT("unable to load Business::OnlinePayment\n");
+
+ use_ok("Business::OnlinePayment::PayflowPro")
+ or BAIL_OUT("unable to load Business::OnlinePayment::PayflowPro\n");
+}
diff --git a/t/bop.t b/t/bop.t
deleted file mode 100644
index 504071e..0000000
--- a/t/bop.t
+++ /dev/null
@@ -1,7 +0,0 @@
-#!/usr/bin/perl
-
-use strict;
-use warnings;
-use Test::More tests => 1;
-
-use_ok("Business::OnlinePayment");
diff --git a/t/load.t b/t/load.t
deleted file mode 100644
index a5fed5e..0000000
--- a/t/load.t
+++ /dev/null
@@ -1,7 +0,0 @@
-#!/usr/bin/perl
-
-use strict;
-use warnings;
-use Test::More tests => 1;
-
-use_ok("Business::OnlinePayment::PayflowPro");