summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
Diffstat (limited to 't')
-rw-r--r--t/00load.t10
1 files changed, 6 insertions, 4 deletions
diff --git a/t/00load.t b/t/00load.t
index 32f49fc..0eb8c34 100644
--- a/t/00load.t
+++ b/t/00load.t
@@ -4,8 +4,10 @@ use strict;
use warnings;
use Test::More tests => 2;
-use_ok("Business::OnlinePayment")
- or BAIL_OUT("unable to load Business::OnlinePayment\n");
+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");
+ use_ok("Business::OnlinePayment::PayflowPro")
+ or BAIL_OUT("unable to load Business::OnlinePayment::PayflowPro\n");
+}