mirror of
https://github.com/snipe/snipe-it.git
synced 2025-01-11 22:07:29 -08:00
Update tests/Feature/Api/Users/UpdateUserApiTest.php
Co-authored-by: Marcus Moore <contact@marcusmoore.io>
This commit is contained in:
parent
0891bd747a
commit
3afe996755
|
@ -134,7 +134,7 @@ class UpdateUserApiTest extends TestCase
|
||||||
$userToUpdateByToUserBySuperuser = User::factory()->create();
|
$userToUpdateByToUserBySuperuser = User::factory()->create();
|
||||||
|
|
||||||
$this->actingAsForApi($userWhoCanEditUsers)
|
$this->actingAsForApi($userWhoCanEditUsers)
|
||||||
->patchJson(route('api.users.update', $userToUpdateByToUpdateuserWhoCanEditUsers), [
|
->patchJson(route('api.users.update', $userToUpdateByUserWhoCanEditUsers), [
|
||||||
'groups' => [$groupToJoin->id],
|
'groups' => [$groupToJoin->id],
|
||||||
]);
|
]);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue