Change of url in the UI needs to be transfered to the test.

This commit is contained in:
elweyn 2022-01-22 14:14:20 +01:00
parent f5383e3c05
commit 2211c7cb28

View File

@ -146,8 +146,8 @@ describe('ResetPassword', () => {
expect(toasterMock).toHaveBeenCalledWith('...Code is older than 10 minutes')
})
it('router pushes to /thx/login', () => {
expect(routerPushMock).toHaveBeenCalledWith('/thx/login')
it('router pushes to /thx/resetFailed', () => {
expect(routerPushMock).toHaveBeenCalledWith('/thx/resetFailed')
})
})