diff --git a/core/tests/Drupal/KernelTests/Core/Menu/MenuTreeStorageTest.php b/core/tests/Drupal/KernelTests/Core/Menu/MenuTreeStorageTest.php index b41ac401..fe3d057f 100644 --- a/core/tests/Drupal/KernelTests/Core/Menu/MenuTreeStorageTest.php +++ b/core/tests/Drupal/KernelTests/Core/Menu/MenuTreeStorageTest.php @@ -444,7 +444,7 @@ protected function assertMenuLink($id, array $expected_properties, array $parent $this->assertEqual($raw['parent'], end($parents), 'Ensure that the parent field is set properly'); } // Verify that the child IDs match. - $this->assertEquals($children, array_keys($this->treeStorage->loadAllChildren($id))); + $this->assertEqualsCanonicalizing($children, array_keys($this->treeStorage->loadAllChildren($id))); } }