From: Sam Hemelryk Date: Fri, 11 Dec 2009 02:40:57 +0000 (+0000) Subject: navigation MDL-14632 Attempting to fix navigation simpletests X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=460232f3024bfe729902846b6672abc59846174a;p=moodle.git navigation MDL-14632 Attempting to fix navigation simpletests --- diff --git a/lib/simpletest/testnavigationlib.php b/lib/simpletest/testnavigationlib.php index 515aceffd5..68368fbcc9 100644 --- a/lib/simpletest/testnavigationlib.php +++ b/lib/simpletest/testnavigationlib.php @@ -46,6 +46,8 @@ class navigation_node_test extends UnitTestCase { parent::setUp(); $this->activeurl = $PAGE->url; + navigation_node::override_active_url($this->activeurl); + $this->inactiveurl = new moodle_url('http://www.moodle.com/'); $this->fakeproperties['action'] = $this->inactiveurl;