X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=t%2F0-common.t;h=99e484b25229e44d0f2612acde2439dd1a79d8de;hb=33156dfb36756fcafdf27a56b3254344aab06d09;hp=fbefc5144fe42e987ac5ad6c91373235d06720a9;hpb=2631edba4bc458cfc69d3a3fe4025709c7897054;p=webpac2 diff --git a/t/0-common.t b/t/0-common.t index fbefc51..99e484b 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 lib 'lib'; -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';