diff --git a/tests/Feature/UsersApiTest.php b/tests/Feature/UsersApiTest.php index 0185c0b..d15d2d3 100644 --- a/tests/Feature/UsersApiTest.php +++ b/tests/Feature/UsersApiTest.php @@ -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');