From 304fd028f0ccb1a49f2aecfb63bfe15e91ad7092 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=A4fer?= Date: Tue, 18 Jun 2019 23:51:54 +0200 Subject: [PATCH] Leftover token=>code --- webapp/components/PasswordReset/VerifyCode.spec.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) })