diff --git a/webapp/components/Registration/CreateUserAccount.spec.js b/webapp/components/Registration/CreateUserAccount.spec.js index e3f7503a3..51177ad6f 100644 --- a/webapp/components/Registration/CreateUserAccount.spec.js +++ b/webapp/components/Registration/CreateUserAccount.spec.js @@ -56,6 +56,7 @@ describe('CreateUserAccount', () => { wrapper.find('input#name').setValue('John Doe') wrapper.find('input#password').setValue('hellopassword') wrapper.find('input#passwordConfirmation').setValue('hellopassword') + wrapper.find('input#checkbox').simulate('change') await wrapper.find('form').trigger('submit') await wrapper.html() } diff --git a/webapp/components/Registration/CreateUserAccount.vue b/webapp/components/Registration/CreateUserAccount.vue index 50bdd78e3..37a1639d9 100644 --- a/webapp/components/Registration/CreateUserAccount.vue +++ b/webapp/components/Registration/CreateUserAccount.vue @@ -46,11 +46,15 @@ :label="$t('settings.security.change-password.label-new-password-confirm')" /> + + + + + +