X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2F99dbic_sqlt_parser.t;h=a9e708fe40d910715cf53ab0ab03a538c26909dd;hb=ba31911e50a0f79051cfee608b0907a9ac83ad1d;hp=85bf5abb774193487106d5f08548e75cd838492f;hpb=cb551b079b096630988312e22becd87fb54fb7de;p=dbsrgits%2FDBIx-Class.git diff --git a/t/99dbic_sqlt_parser.t b/t/99dbic_sqlt_parser.t index 85bf5ab..a9e708f 100644 --- a/t/99dbic_sqlt_parser.t +++ b/t/99dbic_sqlt_parser.t @@ -3,6 +3,8 @@ use DBIx::Class::Optional::Dependencies -skip_all_without => 'deploy'; use strict; use warnings; +BEGIN { $ENV{DBICTEST_VIA_REPLICATED} = 0 } + use Test::More; use Test::Warn; use Test::Exception; @@ -48,8 +50,7 @@ lives_ok { isa_ok (create_schema ({ schema => 'DBICTest::Schema' }), 'SQL::Trans # make sure a connected instance passed via $args does not get the $dbh improperly serialized SKIP: { - # YAML is a build_requires dep of SQLT - it may or may not be here - eval { require YAML } or skip "Test requires YAML.pm", 1; + DBIx::Class::Optional::Dependencies->skip_without( 'YAML>=0' ); lives_ok {