fix test
David Kamholz [Thu, 6 Jul 2006 22:23:38 +0000 (22:23 +0000)]
t/76joins.t

index b807f8f..d09650d 100644 (file)
@@ -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 },