Skip to content

Commit fa289ae

Browse files
committed
N°8534 - Fix tested messages
1 parent 94b28c2 commit fa289ae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/php-unit-tests/unitary-tests/core/UserRightsTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -414,7 +414,7 @@ public function testUserCannotLoseUserEditionRights(int $iProfileId)
414414
$this->AddProfileToUser($oUser, 3);
415415

416416
$this->expectException(CoreCannotSaveObjectException::class);
417-
$this->expectExceptionMessage('You cannot remove your own rights to edit users');
417+
$this->expectExceptionMessage('You cannot remove your own rights to edit Users');
418418
$this->RemoveProfileFromUser($oUser, $iProfileId);
419419
}
420420

0 commit comments

Comments
 (0)