From c78c8aaad28a4d6421de89a9612df7599492a72d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20S=CC=8Ckoda?= Date: Sun, 28 Jul 2013 15:29:33 +0200 Subject: [PATCH] MDL-39915 fix core_navigationlib_testcase regression --- lib/tests/navigationlib_test.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/tests/navigationlib_test.php b/lib/tests/navigationlib_test.php index b9499d5de3b..933b45db4db 100644 --- a/lib/tests/navigationlib_test.php +++ b/lib/tests/navigationlib_test.php @@ -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);