This commit is contained in:
2023-07-18 19:36:17 +10:00
parent 326c8e7b81
commit ff8cf83f1b

View File

@@ -41,10 +41,6 @@ final class UsersApiTest extends TestCase
]
],
]);
$response->assertJsonFragment([
'id' => $nonAdminUser->id,
'email' => $nonAdminUser->email
]);
// ensure the admin user can access the endpoint and see additional user info
$response = $this->actingAs($adminUser)->get('/api/users');