MDL-24914: Navigationlib unit test fails due to 'temporary' commenting of function...
authorSam Marshall <s.marshall@open.ac.uk>
Mon, 1 Nov 2010 10:46:42 +0000 (10:46 +0000)
committerSam Marshall <s.marshall@open.ac.uk>
Mon, 1 Nov 2010 10:46:42 +0000 (10:46 +0000)
lib/simpletest/testnavigationlib.php

index 28c5b1e..957a017 100644 (file)
@@ -381,7 +381,7 @@ class global_navigation_test extends UnitTestCase {
     public function test_module_extends_navigation() {
         $this->cache->test1_extends_navigation = true;
         $this->cache->test2_extends_navigation = false;
-        $this->assertTrue($this->node->exposed_module_extends_navigation('forum'));
+        $this->assertTrue($this->node->exposed_module_extends_navigation('data'));
         $this->assertTrue($this->node->exposed_module_extends_navigation('test1'));
         $this->assertFalse($this->node->exposed_module_extends_navigation('test2'));
         $this->assertFalse($this->node->exposed_module_extends_navigation('test3'));