From 2211c7cb28498e9339c34d34b3e01ae0570d0027 Mon Sep 17 00:00:00 2001 From: elweyn Date: Sat, 22 Jan 2022 14:14:20 +0100 Subject: [PATCH] Change of url in the UI needs to be transfered to the test. --- frontend/src/views/Pages/ResetPassword.spec.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/src/views/Pages/ResetPassword.spec.js b/frontend/src/views/Pages/ResetPassword.spec.js index 137a08897..e3a7c81b1 100644 --- a/frontend/src/views/Pages/ResetPassword.spec.js +++ b/frontend/src/views/Pages/ResetPassword.spec.js @@ -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') }) })