prefetch-grouped fails, again
Moritz Onken [Tue, 4 Aug 2009 19:10:57 +0000 (19:10 +0000)]
t/prefetch/grouped.t

index b1718bf..af9b1f0 100644 (file)
@@ -263,7 +263,7 @@ lives_ok (sub {
                  );
     is($rs->all, 0, 'distinct without prefetch');
 
-    $rs = $schema->resultset("Artist")->search(undef, {distinct => 1})
+    $rs = $schema->resultset("Artist")->search({artistid => '11'}, {distinct => 1})
                 ->search_related('cds')->search_related('genre',
                     { 'genre.name' => 'foo' },
                     { prefetch => q(cds) },