mirror of
https://github.com/discourse/discourse.git
synced 2025-05-21 18:12:32 +08:00
fix build
This commit is contained in:
@ -28,11 +28,11 @@ test('passwordValidation', function() {
|
||||
|
||||
var controller = subject();
|
||||
controller.set('passwordRequired', true);
|
||||
controller.set('accountEmail', 'pork@chops.com');
|
||||
controller.set('accountUsername', 'porkchops');
|
||||
controller.set('accountEmail', 'pork@chops.com');
|
||||
controller.set('accountUsername', 'porkchops');
|
||||
controller.set('prefilledUsername', 'porkchops');
|
||||
|
||||
controller.set('accountPassword', 'b4fcdae11f9167');
|
||||
controller.set('accountPassword', 'b4fcdae11f9167');
|
||||
equal(controller.get('passwordValidation.ok'), true, 'Password is ok');
|
||||
equal(controller.get('passwordValidation.reason'), I18n.t('user.password.ok'), 'Password is valid');
|
||||
|
||||
|
Reference in New Issue
Block a user