X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Fsearch%2Fsubquery.t;h=f8a7e79760e1e5558cb66ba73e6cf0b7fec4085d;hb=d0a3e4e2efdfb2370e0dfe7a45a3aa08a2560ca3;hp=e0f7291e64f3092cbf9d23b11d1aededb3fa21cb;hpb=46e316fd5f510ce7ce79a4b1e15eaa378db7de2f;p=dbsrgits%2FDBIx-Class.git diff --git a/t/search/subquery.t b/t/search/subquery.t index e0f7291..f8a7e79 100644 --- a/t/search/subquery.t +++ b/t/search/subquery.t @@ -6,12 +6,18 @@ use warnings FATAL => 'all'; use Data::Dumper; use Test::More; + +BEGIN { + eval "use SQL::Abstract 1.49"; + plan $@ + ? ( skip_all => "Needs SQLA 1.49+" ) + : ( tests => 6 ); +} + use lib qw(t/lib); use DBICTest; use DBIC::SqlMakerTest; -plan tests => 6; - my $schema = DBICTest->init_schema(); my $art_rs = $schema->resultset('Artist'); my $cdrs = $schema->resultset('CD');