use Test::More;
-plan ( tests => 5 );
+plan ( tests => 4 );
use lib qw(t/lib);
use DBICTest;
);
}
-{
- 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__