1
0
mirror of https://github.com/flarum/core.git synced 2025-08-04 15:37:51 +02:00

test: prevent false negatives

This commit is contained in:
Sami Mazouz
2024-10-21 16:09:02 +01:00
parent b75a51c271
commit 1584174e1c

View File

@@ -129,7 +129,7 @@ class ListTest extends TestCase
$data = json_decode($response->getBody()->getContents(), true)['data'];
$ids = Arr::pluck($data, 'id');
$this->assertEquals(['1', '2', '3', '4', '9', '10'], $ids);
$this->assertEqualsCanonicalizing(['1', '2', '3', '4', '9', '10'], $ids);
}
public static function listTagsIncludesDataProvider(): array