tests(integration): fixes EggControllerTest, NestControllerTest, and UserControllerTest
This commit is contained in:
parent
542fd61049
commit
ee5a661e46
3 changed files with 16 additions and 16 deletions
|
@ -38,7 +38,7 @@ class NestControllerTest extends ApplicationApiIntegrationTestCase
|
|||
$response->assertJsonStructure([
|
||||
'object',
|
||||
'data' => [['object', 'attributes' => ['id', 'uuid', 'author', 'name', 'description', 'created_at', 'updated_at']]],
|
||||
'meta' => ['pagination' => ['total', 'count', 'per_page', 'current_page', 'total_pages']],
|
||||
'meta' => ['pagination' => ['total', 'count', 'per_page', 'current_page', 'total_pages', 'links']],
|
||||
]);
|
||||
|
||||
$response->assertJson([
|
||||
|
@ -51,6 +51,7 @@ class NestControllerTest extends ApplicationApiIntegrationTestCase
|
|||
'per_page' => 50,
|
||||
'current_page' => 1,
|
||||
'total_pages' => 1,
|
||||
'links' => [],
|
||||
],
|
||||
],
|
||||
]);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue