X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Fstorage%2Fdbic_pretty.t;h=89f12dd3929fe6f6f43342829404f5abc5afd2b5;hb=296248c3;hp=ab19c8a8113a56d70cf35160dd4d2c1e0228204e;hpb=b6cd6478dc4f3fdf7a4fbee12bb40e2030571fcb;p=dbsrgits%2FDBIx-Class.git diff --git a/t/storage/dbic_pretty.t b/t/storage/dbic_pretty.t index ab19c8a..89f12dd 100644 --- a/t/storage/dbic_pretty.t +++ b/t/storage/dbic_pretty.t @@ -1,6 +1,10 @@ +BEGIN { do "./t/lib/ANFANG.pm" or die ( $@ || $! ) } +use DBIx::Class::Optional::Dependencies -skip_all_without => 'test_prettydebug'; + use strict; use warnings; -use lib qw(t/lib); + + use DBICTest; use Test::More; @@ -21,7 +25,9 @@ BEGIN { delete @ENV{qw(DBIC_TRACE_PROFILE)} } is($schema->storage->debugobj->_sqlat->indent_string, ' ', 'indent string set correctly from console profile'); } -{ +SKIP:{ + DBIx::Class::Optional::Dependencies->skip_without('config_file_reader' ); + local $ENV{DBIC_TRACE_PROFILE} = './t/lib/awesome.json'; my $schema = DBICTest->init_schema;