From: Matt S Trout Date: Wed, 22 Feb 2006 18:10:24 +0000 (+0000) Subject: Tests run now. Sodding SQLite X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=01c73d7b9b208ab67f8bc5e2400f8c051f8ed84f;p=dbsrgits%2FDBIx-Class-Historic.git Tests run now. Sodding SQLite --- diff --git a/t/run/16joins.tl b/t/run/16joins.tl index bfab938..efab7b1 100644 --- a/t/run/16joins.tl +++ b/t/run/16joins.tl @@ -255,12 +255,12 @@ SKIP: { $rs = $schema->resultset("Artist")->search( {}, - { join => [qw/ cds /], group_by => [qw/ me.name /], having =>{ 'MAX(cds.cdid)'=>{'<',5 } } } + { join => [qw/ cds /], group_by => [qw/ me.name /], having =>{ 'MAX(cds.cdid)'=> \'< 5' } } ); cmp_ok( $rs->all, '==', 2, "results ok after group_by on related column with a having" ); -$rs = $rs->search( undef, { having =>{ 'count(*)'=>{'>',2 } }}); +$rs = $rs->search( undef, { having =>{ 'count(*)'=> \'> 2' }}); cmp_ok( $rs->all, '==', 1, "count() ok after group_by on related column with a having" );