From 3afe996755ec744bd0b5677d82ecf44e636bc126 Mon Sep 17 00:00:00 2001 From: snipe Date: Wed, 22 May 2024 11:00:47 +0100 Subject: [PATCH] Update tests/Feature/Api/Users/UpdateUserApiTest.php Co-authored-by: Marcus Moore --- tests/Feature/Api/Users/UpdateUserApiTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/Feature/Api/Users/UpdateUserApiTest.php b/tests/Feature/Api/Users/UpdateUserApiTest.php index 91a2122c74..ecb932300c 100644 --- a/tests/Feature/Api/Users/UpdateUserApiTest.php +++ b/tests/Feature/Api/Users/UpdateUserApiTest.php @@ -134,7 +134,7 @@ class UpdateUserApiTest extends TestCase $userToUpdateByToUserBySuperuser = User::factory()->create(); $this->actingAsForApi($userWhoCanEditUsers) - ->patchJson(route('api.users.update', $userToUpdateByToUpdateuserWhoCanEditUsers), [ + ->patchJson(route('api.users.update', $userToUpdateByUserWhoCanEditUsers), [ 'groups' => [$groupToJoin->id], ]);