From: Matt S Trout Date: Wed, 1 Mar 2006 02:23:27 +0000 (+0000) Subject: Added missing join attrs to 23cache X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=3c3c416e78658e3675e9e0ee51333a1465d440c8;p=dbsrgits%2FDBIx-Class-Historic.git Added missing join attrs to 23cache --- diff --git a/t/run/23cache.tl b/t/run/23cache.tl index 6732fc3..f0c80ac 100644 --- a/t/run/23cache.tl +++ b/t/run/23cache.tl @@ -16,6 +16,7 @@ is( scalar @{ $rs->get_cache }, 0, 'cache is not populated without cache attribu $rs = $schema->resultset("Artist")->search( { 'artistid' => 1 }, { + join => [ qw/ cds /], prefetch => [qw/ cds /], cache => 1, } @@ -67,6 +68,7 @@ is( scalar keys %{$artist->{related_resultsets}}, 0, 'related resultsets deleted $rs = $schema->resultset("Artist")->search( { artistid => 1 }, { + join => { cds => 'tags' }, prefetch => { cds => 'tags' },