mirror of
https://github.com/flarum/framework.git
synced 2024-11-22 11:46:37 +08:00
test: fix
This commit is contained in:
parent
4acb6e36f5
commit
bfb82fca4b
|
@ -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'] ?? [])
|
||||
|
|
Loading…
Reference in New Issue
Block a user