MDL-37574 - Fix navigation tests: remove title

We are no longer setting it, to improve accessibility
This commit is contained in:
Dan Poltawski 2013-02-05 08:35:32 +08:00
parent b97d3e46df
commit 43b5915e04

View File

@ -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']);