From: David Kamholz Date: Thu, 6 Jul 2006 22:23:38 +0000 (+0000) Subject: fix test X-Git-Tag: v0.07002~75^2~48 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=8de797db7b1f4ce73c0c9512376117c3bfa48a4d;p=dbsrgits%2FDBIx-Class.git fix test --- diff --git a/t/76joins.t b/t/76joins.t index b807f8f..d09650d 100644 --- a/t/76joins.t +++ b/t/76joins.t @@ -301,7 +301,7 @@ is($tree_like->name, 'quux', 'Tree search_related ok'); $tree_like = $schema->resultset('TreeLike')->search({ 'children.id' => 2 }); $tree_like = $tree_like->search_related('children', undef, { prefetch => { children => 'children' } })->first; -is($tree_like->children->first->name, 'baz', 'Tree search_related with prefetch ok'); +is($tree_like->children->first->children->first->name, 'quux', 'Tree search_related with prefetch ok'); $tree_like = $schema->resultset('TreeLike')->search( { 'children.id' => 2, 'children_2.id' => 5 },