Update tests/Feature/Api/Users/UpdateUserApiTest.php

Co-authored-by: Marcus Moore <contact@marcusmoore.io>
This commit is contained in:
snipe 2024-05-22 11:00:47 +01:00 committed by GitHub
parent 0891bd747a
commit 3afe996755
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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],
]);