X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2F76select.t;h=164f58e322bb536da3043b0cb5dc98b2062ca1fe;hb=27ffa6c0c4e12265ea84d2b0b954a3b8954e4d69;hp=7560d2c5990c5758b19447dac8d56fcdb6681d6e;hpb=9188c1edae570f669fddb7615fda8e0250c49128;p=dbsrgits%2FDBIx-Class.git diff --git a/t/76select.t b/t/76select.t index 7560d2c..164f58e 100644 --- a/t/76select.t +++ b/t/76select.t @@ -9,7 +9,7 @@ use DBIC::SqlMakerTest; my $schema = DBICTest->init_schema(); -plan tests => 24; +plan tests => 23; my $rs = $schema->resultset('CD')->search({}, { @@ -165,34 +165,19 @@ my $sub_rs = $rs->search ({}, } ); -is_deeply ( - $sub_rs->single, - { - artist => 1, - track_position => 2, - tracks => - { - trackid => 17, - title => 'Apiary', - }, - }, - '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 ( +is_deeply( $sub_rs->single, { - artist => 1, - track_position => 2, - tracks => [ - { - trackid => 17, - title => 'Apiary', - }, - ], + artist => 1, + track_position => 2, + tracks => [ + { + trackid => 17, + title => 'Apiary', + }, + ], }, 'columns/select/as fold properly on sub-searches', - ); -} +); + +