X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2F90join_torture.t;fp=t%2F90join_torture.t;h=6eeda5a709aac248af6f4777134314ad9a5b8cc6;hb=8124a75c048fb154109a6d0fa81421329796497c;hp=0339bfcb8c6a8fe57d8ba6ff5a89a60bfcec29fd;hpb=690c69e4639181658ed17c528eb79f3b0f2d2994;p=dbsrgits%2FDBIx-Class.git diff --git a/t/90join_torture.t b/t/90join_torture.t index 0339bfc..6eeda5a 100644 --- a/t/90join_torture.t +++ b/t/90join_torture.t @@ -46,9 +46,9 @@ cmp_ok(scalar @cds, '==', 1, "condition based on inherited join okay"); my $rs3 = $rs2->search_related('cds'); -cmp_ok(scalar($rs3->all), '==', 45, "All cds for artist returned"); +cmp_ok(scalar($rs3->all), '==', 15, "All cds for artist returned"); -cmp_ok($rs3->count, '==', 45, "All cds for artist returned via count"); +cmp_ok($rs3->count, '==', 15, "All cds for artist returned via count"); my $rs4 = $schema->resultset("CD")->search({ 'artist.artistid' => '1' }, { join => ['tracks', 'artist'], prefetch => 'artist' }); my @rs4_results = $rs4->all;