Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

MDL-37574 - Fix navigation tests: remove title

We are no longer setting it, to improve accessibility
  • Loading branch information...
commit 43b5915e04af1bf92756d9595b6eec620889f3b6 1 parent b97d3e4
@danpoltawski danpoltawski authored
Showing with 0 additions and 1 deletion.
  1. +0 −1  lib/tests/navigationlib_test.php
View
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']);
Please sign in to comment.
Something went wrong with that request. Please try again.