X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2F104view.t;h=4abe7e82a4519d7ab2dce69caf937d97408f4b3f;hb=wip%2Fwhere_relattr_tests;hp=e7eb46af9343ed9806d106f91d1e11695c897133;hpb=f549392f2e93fec75fa5190363d0a465dd5a8f55;p=dbsrgits%2FDBIx-Class.git diff --git a/t/104view.t b/t/104view.t index e7eb46a..4abe7e8 100644 --- a/t/104view.t +++ b/t/104view.t @@ -2,7 +2,6 @@ use strict; use warnings; use Test::More; -use Test::Exception; use lib qw(t/lib); use DBICTest; @@ -30,6 +29,7 @@ is_deeply ( { result_class => 'DBIx::Class::ResultClass::HashRefInflator', prefetch => ['artist', { tracks => [qw/cd year1999cd year2000cd/] } ], + order_by => 'tracks.trackid', }, )->all ], @@ -40,6 +40,7 @@ is_deeply ( result_class => 'DBIx::Class::ResultClass::HashRefInflator', prefetch => ['artist', { tracks => [qw/cd year1999cd year2000cd/] } ], columns => [qw/cdid single_track title/], # to match the columns retrieved by the virtview + order_by => 'tracks.trackid', }, )->all ],