From: Luke Saunders Date: Mon, 22 May 2006 15:23:44 +0000 (+0000) Subject: arg. bugfix X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=af5802f13001e947bd213b06c38fe1afc16c31b1;p=dbsrgits%2FDBIx-Class-Historic.git arg. bugfix --- diff --git a/t/run/30join_torture.tl b/t/run/30join_torture.tl index 5999db7..181a94e 100644 --- a/t/run/30join_torture.tl +++ b/t/run/30join_torture.tl @@ -1,7 +1,7 @@ sub run_tests { my $schema = shift; -plan tests => ; +plan tests => 4; my $rs1 = $schema->resultset("Artist")->search({ 'tags.tag' => 'Blue' }, { join => {'cds' => 'tracks'}, prefetch => {'cds' => 'tags'} }); my @artists = $rs1->all; @@ -15,7 +15,7 @@ my $rs4 = $schema->resultset("CD")->search({ 'artist.artistid' => '1' }, { join my @rs4_results = $rs4->all; -is(@rs4_results[0]->cdid, 1, "correct artist returned"); +is($rs4_results[0]->cdid, 1, "correct artist returned"); my $rs5 = $rs4->search({'tracks.title' => 'Sticky Honey'}); is($rs5->count, 1, "search without using previous joins okay");