mirror of
https://github.com/moodle/moodle.git
synced 2025-05-15 04:36:13 +02:00
MDL-39915 fix core_navigationlib_testcase regression
This commit is contained in:
parent
a9799afe99
commit
c78c8aaad2
@ -70,7 +70,7 @@ class core_navigationlib_testcase extends advanced_testcase {
|
||||
'shorttext' => 'A very silly extra long short text string, more than 25 characters',
|
||||
'key' => 'key',
|
||||
'type' => 'navigation_node::TYPE_COURSE',
|
||||
'action' => 'http://www.moodle.org/');
|
||||
'action' => new moodle_url('http://www.moodle.org/'));
|
||||
|
||||
$node = new navigation_node($fakeproperties);
|
||||
$this->assertSame($fakeproperties['text'], $node->text);
|
||||
|
Loading…
x
Reference in New Issue
Block a user