From 6739d68a9625c5254324b5822a16e32b8518decc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C2=AF=5C=5F=28=E3=83=84=29=5F/=C2=AF?= Date: Mon, 17 May 2021 12:04:27 +0200 Subject: [PATCH] modify testcases for nicknames to reflect new freedom --- front/tests/Phaser/Connexion/LocalUserTest.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); }); });