mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-24 21:24:13 -08:00
Update tests/Feature/Api/Users/UpdateUserApiTest.php
Co-authored-by: Marcus Moore <contact@marcusmoore.io>
This commit is contained in:
parent
34f1ea1c0e
commit
0891bd747a
|
@ -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), [
|
||||
|
|
Loading…
Reference in a new issue