X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Fadmin%2F01load.t;h=4f194947025f30d2f1c8665486c34bc5dc3a391b;hb=34963a093bf1e1a2306075d586372607290da7b2;hp=dd3a8ec53abda02e9c82f5543657fe3f04919db1;hpb=9f3849c3c386bcf4adb7b13d9e2f7ca2b18047c7;p=dbsrgits%2FDBIx-Class.git diff --git a/t/admin/01load.t b/t/admin/01load.t index dd3a8ec..4f19494 100644 --- a/t/admin/01load.t +++ b/t/admin/01load.t @@ -8,8 +8,7 @@ # FILES: --- # BUGS: --- # NOTES: --- -# AUTHOR: Gordon Irving (), -# COMPANY: Sophos +# AUTHOR: Gordon Irving (), # VERSION: 1.0 # CREATED: 28/11/09 13:54:30 GMT # REVISION: --- @@ -18,14 +17,15 @@ use strict; use warnings; -use Test::More; # last test to print +use Test::More; -use Path::Class; -use FindBin qw($Bin); -use lib dir($Bin,'..', '..','lib')->stringify; -use lib dir($Bin,'..', 'lib')->stringify; -use ok 'DBIx::Class::Admin'; +BEGIN { + eval "use DBIx::Class::Admin"; + plan skip_all => "Deps not installed: $@" if $@; +} + +use_ok 'DBIx::Class::Admin'; done_testing;