cleanup/fix some broken tests
[dbsrgits/DBIx-Class-Historic.git] / t / count / count_joined.t
CommitLineData
21bd38f8 1use strict;
2use warnings;
3
4use Test::More;
5
6use lib qw(t/lib);
7
8use DBICTest;
9
10plan tests => 1;
11
12my $schema = DBICTest->init_schema();
13
14my $cds = $schema->resultset("CD")->search({ cdid => 1 }, { join => { cd_to_producer => 'producer' } });
15is($cds->count, 1, "extra joins do not explode single entity count");