X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2F76select.t;h=8f45fd056d2984a0c04e0137750fb2e27cf30367;hb=d52d4d6e066eca4c85c5f4f6cf7b005f0dc883bc;hp=01d62f592a7d62fce328b68286ae067e46351854;hpb=bbd828a6a6ae6408fe8cca57d8052447345aa6a9;p=dbsrgits%2FDBIx-Class.git diff --git a/t/76select.t b/t/76select.t index 01d62f5..8f45fd0 100644 --- a/t/76select.t +++ b/t/76select.t @@ -153,35 +153,16 @@ my $sub_rs = $rs->search ({}, } ); -is_deeply ( +is_deeply( $sub_rs->single, { - artist => 1, - track_position => 2, - tracks => - { - title => 'Apiary', - }, + artist => 1, + tracks => { + title => 'Apiary', + trackid => 17, + }, }, 'columns/select/as fold properly on sub-searches', ); -TODO: { - local $TODO = "Multi-collapsing still doesn't work right - HRI should be getting an arrayref, not an individual hash"; - is_deeply ( - $sub_rs->single, - { - artist => 1, - track_position => 2, - tracks => [ - { - trackid => 17, - title => 'Apiary', - }, - ], - }, - 'columns/select/as fold properly on sub-searches', - ); -} - done_testing;