Commit 419f996f authored by Ben Wheeler's avatar Ben Wheeler

revise username spaces test

parent e915ae19
...@@ -33,7 +33,7 @@ describe('unit test lib/validate.js', () => { ...@@ -33,7 +33,7 @@ describe('unit test lib/validate.js', () => {
test('validate username spaces not allowed', () => { test('validate username spaces not allowed', () => {
const response = validate.validateUsernameLocally('abc def'); 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', () => { test('validate username special chars not allowed', () => {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment