revise username spaces test

This commit is contained in:
Ben Wheeler 2019-11-19 16:25:21 -05:00
parent e915ae1927
commit 419f996f75

View file

@ -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', () => {