From: Peter Rabbitson Date: Sun, 3 May 2009 00:00:19 +0000 (+0000) Subject: Failing test without immediate fixes go to branches, not to trunk X-Git-Tag: v0.08103~120 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=585ad4efc071d224e939ff8d8d11ae090f64cb58;p=dbsrgits%2FDBIx-Class.git Failing test without immediate fixes go to branches, not to trunk --- diff --git a/t/resultset/as_query.t b/t/resultset/as_query.t index 6065307..7f4c738 100644 --- a/t/resultset/as_query.t +++ b/t/resultset/as_query.t @@ -7,7 +7,7 @@ use Data::Dumper; use Test::More; -plan ( tests => 5 ); +plan ( tests => 4 ); use lib qw(t/lib); use DBICTest; @@ -66,13 +66,4 @@ my $rscol = $art_rs->get_column( 'charfield' ); ); } -{ - my $rs = $schema->resultset("CD")->search( - { 'artist.name' => 'Caterwauler McCrae' }, - { join => [qw/artist/]} - ); - my $subsel_rs = $schema->resultset("CD")->search( { cdid => { IN => $rs->get_column('cdid')->as_query } } ); - cmp_ok($subsel_rs->count, '==', $rs->count, 'Subselect on PK got the same row count'); -} - __END__