From ff8cf83f1b4e1b447be222c567716d4452dc5d64 Mon Sep 17 00:00:00 2001 From: James Collins Date: Tue, 18 Jul 2023 19:36:17 +1000 Subject: [PATCH] fix test --- tests/Feature/UsersApiTest.php | 4 ---- 1 file changed, 4 deletions(-) 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');