From b3b3eaced779a8111de96048d502cba26be33f6b Mon Sep 17 00:00:00 2001 From: samhemelryk Date: Mon, 31 Aug 2009 04:07:51 +0000 Subject: [PATCH] navigation MDL-14632 Fixed simpletests after the different tweaking that has gone on --- lib/simpletest/testnavigationlib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/simpletest/testnavigationlib.php b/lib/simpletest/testnavigationlib.php index 40e8bc0d6b..a8a322ff1d 100644 --- a/lib/simpletest/testnavigationlib.php +++ b/lib/simpletest/testnavigationlib.php @@ -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); } } -- 2.39.5