test: prevent false negatives

This commit is contained in:
Sami Mazouz 2024-10-21 16:09:02 +01:00
parent b75a51c271
commit 1584174e1c
No known key found for this signature in database

View File

@ -129,7 +129,7 @@ class ListTest extends TestCase
$data = json_decode($response->getBody()->getContents(), true)['data']; $data = json_decode($response->getBody()->getContents(), true)['data'];
$ids = Arr::pluck($data, 'id'); $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 public static function listTagsIncludesDataProvider(): array