X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2F101populate_rs.t;h=5454fa01f9165f7b3fe2c8ba6f0ac453ad41ff75;hb=7eb9a6f1f9b6cd83aaa91e142c001b72b7ccd407;hp=2b4277120f9217edda7f7a7f03f54d9fceec2fc1;hpb=fa238f1f276239f96b30a77baad4f0b31530a8a4;p=dbsrgits%2FDBIx-Class.git diff --git a/t/101populate_rs.t b/t/101populate_rs.t index 2b42771..5454fa0 100644 --- a/t/101populate_rs.t +++ b/t/101populate_rs.t @@ -646,9 +646,7 @@ ARRAYREF_OF_ARRAYREF_STYLE: { is $jumped->name, 'A singer that jumped the shark two albums ago', 'Correct Name'; is $cool->name, 'An actually cool singer.', 'Correct Name'; - #cmp_ok $cool->rank, '==', 42, 'Correct Rank'; - - my ($cooler, $lamer) = $art_rs->populate([ + my ($cooler, $lamer) = $restricted_art_rs->populate([ [qw/artistid name/], [1003, 'Cooler'], [1004, 'Lamer'], @@ -657,7 +655,7 @@ ARRAYREF_OF_ARRAYREF_STYLE: { is $cooler->name, 'Cooler', 'Correct Name'; is $lamer->name, 'Lamer', 'Correct Name'; - #cmp_ok $cooler->rank, '==', 42, 'Correct Rank'; + cmp_ok $cooler->rank, '==', 42, 'Correct Rank'; ARRAY_CONTEXT_WITH_COND_FROM_RS: {