From 419f996f7516685f069952ac2b09ea307e01f48f Mon Sep 17 00:00:00 2001 From: Ben Wheeler Date: Tue, 19 Nov 2019 16:25:21 -0500 Subject: [PATCH] revise username spaces test --- test/unit/lib/validate.test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/unit/lib/validate.test.js b/test/unit/lib/validate.test.js index d34eef808..374209c75 100644 --- a/test/unit/lib/validate.test.js +++ b/test/unit/lib/validate.test.js @@ -33,7 +33,7 @@ describe('unit test lib/validate.js', () => { test('validate username spaces not allowed', () => { const response = validate.validateUsernameLocally('abc def'); - expect(response).toEqual({valid: false, errMsgId: 'registration.validationUsernameRegexp'}); + expect(response).toEqual({valid: false, errMsgId: 'registration.validationUsernameSpaces'}); }); test('validate username special chars not allowed', () => {