From 14c4765be205d84975203eca550484b4d4803876 Mon Sep 17 00:00:00 2001 From: snipe Date: Wed, 22 May 2024 11:00:52 +0100 Subject: [PATCH] Update tests/Feature/Api/Users/UpdateUserApiTest.php Co-authored-by: Marcus Moore --- tests/Feature/Api/Users/UpdateUserApiTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/Feature/Api/Users/UpdateUserApiTest.php b/tests/Feature/Api/Users/UpdateUserApiTest.php index ecb932300c..3790a7acc9 100644 --- a/tests/Feature/Api/Users/UpdateUserApiTest.php +++ b/tests/Feature/Api/Users/UpdateUserApiTest.php @@ -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' );