X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2F86sqlt.t;h=a6b17ecf317c9a44bfe99bfa56cde449a4cf7b2d;hb=216f29d9fe6628a4195176f59c0ed6cef6d68af5;hp=eccc5e245c6ec6e3906136094db2c9c3d6834419;hpb=111364b30f1418813dec58ac6aca4492476bd23b;p=dbsrgits%2FDBIx-Class.git diff --git a/t/86sqlt.t b/t/86sqlt.t index eccc5e2..a6b17ec 100644 --- a/t/86sqlt.t +++ b/t/86sqlt.t @@ -1,19 +1,14 @@ +use DBIx::Class::Optional::Dependencies -skip_all_without => 'deploy'; + use strict; use warnings; use Test::More; use Test::Warn; -use lib qw(t/lib); -use DBICTest; - use Scalar::Util 'blessed'; -BEGIN { - require DBIx::Class; - plan skip_all => - 'Test needs ' . DBIx::Class::Optional::Dependencies->req_missing_for ('deploy') - unless DBIx::Class::Optional::Dependencies->req_ok_for ('deploy') -} +use lib qw(t/lib); +use DBICTest; my $custom_deployment_statements_called = 0; @@ -23,7 +18,6 @@ sub DBICTest::Schema::deployment_statements { return $self->next::method(@_); } - # Check deployment statements ctx sensitivity { my $schema = DBICTest->init_schema (no_deploy => 1, quote_names => 1);