mirror of
https://github.com/flarum/framework.git
synced 2024-11-25 09:41:49 +08:00
test: fix
This commit is contained in:
parent
4acb6e36f5
commit
bfb82fca4b
|
@ -126,7 +126,7 @@ class IncludeFlagsVisibilityTest extends TestCase
|
||||||
|
|
||||||
$data = $responseBody['data'];
|
$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(
|
$this->assertEqualsCanonicalizing(
|
||||||
$expectedIncludes,
|
$expectedIncludes,
|
||||||
collect($responseBody['included'] ?? [])
|
collect($responseBody['included'] ?? [])
|
||||||
|
|
Loading…
Reference in New Issue
Block a user