From 8e8a6b78d0fdcb3e450036a312f090f12e938923 Mon Sep 17 00:00:00 2001 From: Dan Poltawski Date: Tue, 5 Feb 2013 08:35:32 +0800 Subject: [PATCH] MDL-37574 - Fix navigation tests: remove title We are no longer setting it, to improve accessibility --- lib/tests/navigationlib_test.php | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/tests/navigationlib_test.php b/lib/tests/navigationlib_test.php index 49ad07336992f..63804f746d6e4 100644 --- a/lib/tests/navigationlib_test.php +++ b/lib/tests/navigationlib_test.php @@ -76,7 +76,6 @@ public function test___construct() { global $CFG; $node = new navigation_node($this->fakeproperties); $this->assertEquals($node->text, $this->fakeproperties['text']); - $this->assertEquals($node->title, $this->fakeproperties['text']); $this->assertTrue(strpos($this->fakeproperties['shorttext'], substr($node->shorttext,0, -3))===0); $this->assertEquals($node->key, $this->fakeproperties['key']); $this->assertEquals($node->type, $this->fakeproperties['type']);