From 0891bd747a235c45ccc571196847e0319fce48ed Mon Sep 17 00:00:00 2001 From: snipe Date: Wed, 22 May 2024 11:00:31 +0100 Subject: [PATCH] Update tests/Feature/Api/Users/UpdateUserApiTest.php Co-authored-by: Marcus Moore --- tests/Feature/Api/Users/UpdateUserApiTest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/Feature/Api/Users/UpdateUserApiTest.php b/tests/Feature/Api/Users/UpdateUserApiTest.php index 16553c2b4d..91a2122c74 100644 --- a/tests/Feature/Api/Users/UpdateUserApiTest.php +++ b/tests/Feature/Api/Users/UpdateUserApiTest.php @@ -130,8 +130,8 @@ class UpdateUserApiTest extends TestCase $userWhoCanEditUsers = User::factory()->editUsers()->create(); $superUser = User::factory()->superuser()->create(); - $userToUpdateByToUpdateuserWhoCanEditUsers = User::factory()->create(); - $userToUpdateByToUpdateuserBySuperuser = User::factory()->create(); + $userToUpdateByUserWhoCanEditUsers = User::factory()->create(); + $userToUpdateByToUserBySuperuser = User::factory()->create(); $this->actingAsForApi($userWhoCanEditUsers) ->patchJson(route('api.users.update', $userToUpdateByToUpdateuserWhoCanEditUsers), [