Permalink
Browse files

MDL-37574 - Fix navigation tests: remove title

We are no longer setting it, to improve accessibility
  • Loading branch information...
1 parent d86b640 commit 8e8a6b78d0fdcb3e450036a312f090f12e938923 @danpoltawski danpoltawski committed Feb 5, 2013
Showing with 0 additions and 1 deletion.
  1. +0 −1 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']);

0 comments on commit 8e8a6b7

Please sign in to comment.