projects
/
dbsrgits/DBIx-Class.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Warn in case of iterative collapse being upgraded to an eager cursor slurp
[dbsrgits/DBIx-Class.git]
/
t
/
prefetch
/
grouped.t
diff --git
a/t/prefetch/grouped.t
b/t/prefetch/grouped.t
index
27d3865
..
40ac923
100644
(file)
--- a/
t/prefetch/grouped.t
+++ b/
t/prefetch/grouped.t
@@
-186,7
+186,7
@@
for ($cd_rs->all) {
);
is ($most_tracks_rs->count, 2, 'Limit works');
- my $top_cd = $most_tracks_rs->first;
+ my ($top_cd) = $most_tracks_rs->all;
is ($top_cd->id, 2, 'Correct cd fetched on top'); # 2 because of the slice(1,1) earlier
my $query_cnt = 0;