test: fix

This commit is contained in:
Sami Mazouz 2024-10-17 19:37:36 +01:00
parent 4acb6e36f5
commit bfb82fca4b
No known key found for this signature in database

View File

@ -126,7 +126,7 @@ class IncludeFlagsVisibilityTest extends TestCase
$data = $responseBody['data'];
$this->assertEquals(['1', '2', '3', '4', '5'], Arr::pluck($data, 'id'));
$this->assertEqualsCanonicalizing(['1', '2', '3', '4', '5'], Arr::pluck($data, 'id'));
$this->assertEqualsCanonicalizing(
$expectedIncludes,
collect($responseBody['included'] ?? [])