From: plobbes Date: Fri, 19 Jan 2007 05:25:02 +0000 (+0000) Subject: - 00load.t replaces bop.t and load.t and now uses Test::More::BAIL_OUT X-Git-Tag: BUSINESS_ONLINEPAYMENT_PAYFLOWPRO_0_05~12 X-Git-Url: http://git.freeside.biz/gitweb/?p=Business-OnlinePayment-PayflowPro.git;a=commitdiff_plain;h=29900bbdb208240837822c20ab3bcd72ad8a1a6a - 00load.t replaces bop.t and load.t and now uses Test::More::BAIL_OUT --- 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");