navigation MDL-14632 Fixed simpletests after the different tweaking that has gone on

This commit is contained in:
samhemelryk
2009-08-31 04:07:51 +00:00
parent 9da1ec271f
commit b3b3eaced7
+1 -1
View File
@@ -586,7 +586,7 @@ class navbar_test extends UnitTestCase {
global $CFG;
$key = $this->node->add('test_add_1','testadd1','testadd1',navigation_node::TYPE_COURSE,'http://www.moodle.org/',$CFG->httpswwwroot . '/pix/i/course.gif');
$this->node->get($key)->make_active();
$html = $this->node->exposed_parse_branch_to_html($this->node->children, true);
$html = $this->node->exposed_parse_branch_to_html($this->node->children, true, true);
$this->assert(new ContainsTagWithAttribute('a','href',$this->node->action->out()), $html);
}
}