X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Frun%2F17join_count.tl;h=499b08fef0e2b4be3b7b7a8265c6798d845db884;hb=70350518bbb31e5ac22fb3cb73d3e17409fcd332;hp=08335e09db51d03f2f808172523d354bfbcd42c0;hpb=4b8dcc58874223164d4a379a5db4a9cb737d7c7a;p=dbsrgits%2FDBIx-Class.git diff --git a/t/run/17join_count.tl b/t/run/17join_count.tl index 08335e0..499b08f 100644 --- a/t/run/17join_count.tl +++ b/t/run/17join_count.tl @@ -1,5 +1,11 @@ -sub run_tests { -my $schema = shift; +use strict; +use warnings; + +use Test::More; +use lib qw(t/lib); +use DBICTest; + +my $schema = DBICTest::init_schema(); eval "use DBD::SQLite"; plan skip_all => 'needs DBD::SQLite for testing' if $@; @@ -23,6 +29,3 @@ cmp_ok($schema->resultset("CD")->count( { join => [ qw/tags liner_notes/ ] } ), '==', 2, "Mixed count ok"); -} - -1;