diff --git a/lib/simpletest/testnavigationlib.php b/lib/simpletest/testnavigationlib.php
index <HASH>..<HASH> 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;
navigation MDL-<I> Attempting to fix navigation simpletests