diff --git a/api.planx.uk/tests/serverErrorHandler.test.js b/api.planx.uk/tests/serverErrorHandler.test.js index b4ca189238..cb14574208 100644 --- a/api.planx.uk/tests/serverErrorHandler.test.js +++ b/api.planx.uk/tests/serverErrorHandler.test.js @@ -30,20 +30,6 @@ describe("bad requests", () => { await get("/pay/wrong/1").expect(400); }); - test(`app.get("/hasura")`, async () => { - await get("/hasura").expect(500); - }); - - test(`app.get("/me")`, async () => { - await get("/me") - .expect(401) - .then((response) => { - expect(response.body).toEqual({ - error: "No authorization token was found", - }); - }); - }); - test(`app.get("/gis")`, async () => { await get("/gis").expect(400); }); @@ -58,10 +44,6 @@ describe("bad requests", () => { }); }); - test(`app.get("/throw-error")`, async () => { - await get("/throw-error").expect(500); - }); - test(`app.post("/flows/:flowId/publish")`, async () => { await post("/flows/WRONG/publish").expect(401); });