X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Fprefetch%2Fjoin_type.t;h=5165e09b6141a8e4a51f49769e482d24c23aa833;hb=HEAD;hp=380dc0f1e59cdff5e5ec8781061f008abb69e100;hpb=41a5d675ccc9fe5f11e55c4551da9773244fa83d;p=dbsrgits%2FDBIx-Class.git diff --git a/t/prefetch/join_type.t b/t/prefetch/join_type.t index 380dc0f..5165e09 100644 --- a/t/prefetch/join_type.t +++ b/t/prefetch/join_type.t @@ -1,10 +1,11 @@ +BEGIN { do "./t/lib/ANFANG.pm" or die ( $@ || $! ) } + use warnings; use strict; use Test::More; -use lib qw(t/lib); -use DBIC::SqlMakerTest; -use DBICTest; + +use DBICTest ':DiffSQL'; my $schema = DBICTest->init_schema(); @@ -44,7 +45,6 @@ is_same_sql_bind ( JOIN artist artist ON artist.artistid = me.artist LEFT JOIN cd cds ON cds.artist = artist.artistid LEFT JOIN artist artist_2 ON artist_2.artistid = cds.artist - ORDER BY cds.artist, cds.year ASC )', [], );