diff --git a/tests/local/section/db_test.php b/tests/local/section/db_test.php index cfa6a16..2d8aa89 100644 --- a/tests/local/section/db_test.php +++ b/tests/local/section/db_test.php @@ -93,6 +93,6 @@ public function test_get_course_modules_by_section_id() { $db_course_modules = db::get_course_modules_by_section_id($section_id); // check result - $this->assertEquals([$course_module1->cmid, $course_module2->cmid], array_keys($db_course_modules)); + $this->assertEqualsCanonicalizing([$course_module1->cmid, $course_module2->cmid], array_keys($db_course_modules)); } }