From d02e9dec5637aedefdf2ed3cd2c6d73216b6464b Mon Sep 17 00:00:00 2001 From: Nicolai Ort Date: Tue, 26 Jan 2021 17:28:20 +0100 Subject: [PATCH] Removed tests working directly with the old pw-reset response ref #118 --- src/tests/auth/auth_reset.spec.ts | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/tests/auth/auth_reset.spec.ts b/src/tests/auth/auth_reset.spec.ts index 47c61e6..8a78a83 100644 --- a/src/tests/auth/auth_reset.spec.ts +++ b/src/tests/auth/auth_reset.spec.ts @@ -40,14 +40,6 @@ describe('POST /api/auth/reset valid', () => { reset_token = res1.data.resetToken; expect(res1.status).toEqual(200); }); - it('valid password reset should return 200', async () => { - const res2 = await axios.post(base + '/api/auth/reset/' + reset_token, { password: "demo" }, axios_config); - expect(res2.status).toEqual(200); - }); - it('valid login after reset should return 200', async () => { - const res = await axios.post(base + '/api/auth/login', { username: "demo_reset", password: "demo" }); - expect(res.status).toEqual(200); - }); }); // --------------- describe('POST /api/auth/reset invalid requests', () => {