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:31 +01:00 committed by GitHub
parent 34f1ea1c0e
commit 0891bd747a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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), [