From 648fb6825a177d41073088264551f266fec9f02f Mon Sep 17 00:00:00 2001 From: Zoe Roux Date: Sun, 2 Mar 2025 19:46:28 +0100 Subject: [PATCH] Fix test --- api/tests/movies/get-all-movies.test.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/api/tests/movies/get-all-movies.test.ts b/api/tests/movies/get-all-movies.test.ts index 05b1eedc..fc8776f5 100644 --- a/api/tests/movies/get-all-movies.test.ts +++ b/api/tests/movies/get-all-movies.test.ts @@ -191,8 +191,6 @@ describe("Get all movies", () => { expect(resp.status).toBe(302); const location = resp.headers.get("location")!; expect(location).toStartWith("/movies/"); - const id = location.substring("/movies/".length); - expect(isUuid(id)).toBe(true); }); }); it("Limit 2, fallback lang, prefer original", async () => {