diff --git a/front/tests/Phaser/Connexion/LocalUserTest.ts b/front/tests/Phaser/Connexion/LocalUserTest.ts index 8eef3618..0b0cd6c0 100644 --- a/front/tests/Phaser/Connexion/LocalUserTest.ts +++ b/front/tests/Phaser/Connexion/LocalUserTest.ts @@ -21,7 +21,7 @@ describe("isUserNameValid()", () => { expect(isUserNameValid(' ')).toBe(false); }); it("should not validate special characters", () => { - expect(isUserNameValid('a&-')).toBe(false); + expect(isUserNameValid('a@*')).toBe(false); }); });