X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2F76select.t;h=d2cc72e13888cd3bfa2821ed4f9b5dc5ed053ecf;hb=a870aa85e;hp=2ca47e694f4a04a3dd38b1e0a5bd2493db3050e4;hpb=c9d29bb255e00c9c734edfc9634b3ff24ad621ba;p=dbsrgits%2FDBIx-Class.git diff --git a/t/76select.t b/t/76select.t index 2ca47e6..d2cc72e 100644 --- a/t/76select.t +++ b/t/76select.t @@ -103,7 +103,7 @@ $rs = $schema->resultset('CD')->search({}, is_same_sql_bind ( $rs->as_query, - '(SELECT me.cdid, me.artist, me.title, me.year, me.genreid, me.single_track, me.cdid, me.title, artist.name FROM cd me JOIN artist artist ON artist.artistid = me.artist)', + '(SELECT me.cdid, me.artist, me.title, me.year, me.genreid, me.single_track, artist.name FROM cd me JOIN artist artist ON artist.artistid = me.artist)', [], 'Use of columns attribute results in proper sql' ); @@ -157,10 +157,9 @@ is_deeply( $sub_rs->single, { artist => 1, - track_position => 2, - tracks => { + tracks => { + title => 'Apiary', trackid => 17, - title => 'Apiary', }, }, 'columns/select/as fold properly on sub-searches',