X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=t%2F0-common.t;h=da4f399359db9c10b4542644952ece905bc38941;hb=5d5fc808565b88bca0e2d10aa62bd89c7e748743;hp=fbefc5144fe42e987ac5ad6c91373235d06720a9;hpb=2631edba4bc458cfc69d3a3fe4025709c7897054;p=webpac2 diff --git a/t/0-common.t b/t/0-common.t index fbefc51..da4f399 100755 --- a/t/0-common.t +++ b/t/0-common.t @@ -1,22 +1,15 @@ #!/usr/bin/perl -w use strict; -use Test::More tests => 7; -use Test::Exception; use blib; -use Data::Dump qw/dump/; -use Cwd qw/abs_path/; +use Test::More tests => 7; BEGIN { +use_ok( 'WebPAC::Test' ); use_ok( 'WebPAC::Common' ); } -my $debug = shift @ARGV; - -ok(my $abs_path = abs_path($0), "abs_path"); -$abs_path =~ s#/[^/]*$#/#; # - my $path = "$abs_path/conf/test.yml"; my $common = 'WebPAC::Common';