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:52 +01:00 committed by GitHub
parent 3afe996755
commit 14c4765be2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -143,7 +143,7 @@ class UpdateUserApiTest extends TestCase
'groups' => [$groupToJoin->id],
]);
$this->assertFalse($userToUpdateByToUpdateuserWhoCanEditUsers->refresh()->groups->contains($groupToJoin),
$this->assertFalse($userToUpdateByUserWhoCanEditUsers->refresh()->groups->contains($groupToJoin),
'Non-super-user was able to modify user group'
);