Fix userController unit test

This commit is contained in:
Bubka 2020-01-23 23:42:47 +01:00
parent 4e38e0bbfb
commit 6ed67ad895

View File

@ -169,7 +169,7 @@ public function testGetUserDetails()
$response = $this->actingAs($user, 'api')
->json('GET', '/api/user')
->assertStatus(200)
->assertJsonStructure(['id', 'name', 'email']);
->assertJsonStructure(['name', 'email']);
}