X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Fprefetch%2Flazy_cursor.t;h=de6e9361e379c71a32652023b2f668cfe3bf941a;hb=b8a270548277cf47dbe171d66e9f1352e5d1dc0e;hp=090d464c7cd9b7963786dcf8a958653bcd6ccf99;hpb=0e81e6918e9fe18c6852818c33eae48b46de1572;p=dbsrgits%2FDBIx-Class.git diff --git a/t/prefetch/lazy_cursor.t b/t/prefetch/lazy_cursor.t index 090d464..de6e936 100644 --- a/t/prefetch/lazy_cursor.t +++ b/t/prefetch/lazy_cursor.t @@ -78,7 +78,7 @@ is ($unordered_rs->next, undef, 'End of RS not lost'); { my $non_uniquely_ordered_constrained = $schema->resultset('CD')->search( { artist => 1 }, - { order_by => 'me.title', prefetch => 'tracks' }, + { order_by => [qw( me.genreid me.title me.year )], prefetch => 'tracks' }, ); isa_ok ($non_uniquely_ordered_constrained->next, 'DBICTest::CD' );