love me some magic numbers

This commit is contained in:
Matthew Penner 2021-10-06 15:06:53 -06:00
parent 9ab8f946ec
commit fb14603e17
No known key found for this signature in database
GPG key ID: BAB67850901908A8

View file

@ -194,7 +194,7 @@ class UserControllerTest extends ApplicationApiIntegrationTestCase
]); ]);
$response->assertStatus(Response::HTTP_CREATED); $response->assertStatus(Response::HTTP_CREATED);
$response->assertJsonCount(3); $response->assertJsonCount(2);
$response->assertJsonStructure([ $response->assertJsonStructure([
'object', 'object',
'attributes' => ['id', 'external_id', 'uuid', 'username', 'email', 'language', 'admin_role_id', 'root_admin', '2fa', 'created_at', 'updated_at'], 'attributes' => ['id', 'external_id', 'uuid', 'username', 'email', 'language', 'admin_role_id', 'root_admin', '2fa', 'created_at', 'updated_at'],