Restore ability to handle underdefined root (t/prefetch/incomplete.t)
[dbsrgits/DBIx-Class.git] / t / prefetch / join_type.t
index f077229..aad32ff 100644 (file)
@@ -1,4 +1,5 @@
 use warnings;
+use strict;
 
 use Test::More;
 use lib qw(t/lib);
@@ -38,7 +39,7 @@ 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
+    ORDER BY me.cdid
   )',
   [],
 );