diff --git a/webapp/components/PasswordReset/VerifyCode.spec.js b/webapp/components/PasswordReset/VerifyCode.spec.js index cf12aacac..6f489e55f 100644 --- a/webapp/components/PasswordReset/VerifyCode.spec.js +++ b/webapp/components/PasswordReset/VerifyCode.spec.js @@ -65,7 +65,7 @@ describe('VerifyCode ', () => { it('delivers new password to backend', () => { const expected = expect.objectContaining({ - variables: { token: '123456', email: 'mail@example.org', newPassword: 'supersecret' }, + variables: { code: '123456', email: 'mail@example.org', newPassword: 'supersecret' }, }) expect(mocks.$apollo.mutate).toHaveBeenCalledWith(expected) })