From fafa95d757e34e179a55eebcf8e0d59c74b79cca Mon Sep 17 00:00:00 2001 From: Richard Perkins <57779301+rjperkins@users.noreply.github.com> Date: Thu, 17 Sep 2020 00:01:39 +0200 Subject: [PATCH] fix: change disallowedPasswords assertions to be false in auth.js test (#123) --- server/src/utils/__tests__/auth.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/src/utils/__tests__/auth.js b/server/src/utils/__tests__/auth.js index f56104cb..a5736257 100644 --- a/server/src/utils/__tests__/auth.js +++ b/server/src/utils/__tests__/auth.js @@ -18,7 +18,7 @@ describe('isPasswordAllowed only allows some passwords', () => { disallowedPasswords.forEach(password => { test(`disallows ${password}`, () => { - expect(isPasswordAllowed(password)).toBe(true) + expect(isPasswordAllowed(password)).toBe(false) }) }) })