mirror of
https://github.com/moodle/moodle.git
synced 2025-03-14 04:30:15 +01:00
MDL-37574 - Fix navigation tests: remove title
We are no longer setting it, to improve accessibility
This commit is contained in:
parent
b97d3e46df
commit
43b5915e04
@ -76,7 +76,6 @@ class navigation_node_testcase extends basic_testcase {
|
||||
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']);
|
||||
|
Loading…
x
Reference in New Issue
Block a user