]> git.mjollnir.org Git - moodle.git/commitdiff
navigation MDL-14632 Fixed simpletests after the different tweaking that has gone on
authorsamhemelryk <samhemelryk>
Mon, 31 Aug 2009 04:07:51 +0000 (04:07 +0000)
committersamhemelryk <samhemelryk>
Mon, 31 Aug 2009 04:07:51 +0000 (04:07 +0000)
lib/simpletest/testnavigationlib.php

index 40e8bc0d6bc04647fc58e4ee874512434bd5aa6c..a8a322ff1d7c7e5dd716e0162b34611ea5092030 100644 (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);
     }
 }