message: add tests for confirm password
diff: @@ -111,13 +111,22 @@ describe('RegisterComponent', () => {
  })
  it('should be compulsory to repeat the password', () => {
  + component.passwordControl.setValue('a')
  component.repeatPasswordControl.setValue('')
  expect(component.repeatPasswordControl.valid).toBeFalsy()
  component.repeatPasswordControl.setValue('a')
  expect(component.repeatPasswordControl.valid).toBe(true)
  })
  - it('')
  + it('password and repeat password should be the same', () => {
  + let password: string = 'aaaaa'
  + let passwordRepeat: string = 'aaaaa'
  + component.passwordControl.setValue(password)
  + component.repeatPasswordControl.setValue('bbbbb')
  + expect(component.repeatPasswordControl.valid).toBeFalsy()
  + component.repeatPasswordControl.setValue(passwordRepeat)
  + expect(component.repeatPasswordControl.valid).toBe(true)
  + })
  it('redirects to login page after user registration', fakeAsync(() => {
  userService.save.and.returnValue(of({ id: 1 }))
  