Leftover token=>code

This commit is contained in:
Robert Schäfer 2019-06-18 23:51:54 +02:00
parent 38327ddf71
commit 304fd028f0

View File

@ -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)
})