From 0a03c3f5ea4d7de20c39aacb74109e6155410780 Mon Sep 17 00:00:00 2001 From: James Napier Date: Mon, 11 Dec 2023 21:35:13 +1300 Subject: [PATCH] fix test's urls --- api/test_main.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/api/test_main.py b/api/test_main.py index 275ed2e..c5c384b 100644 --- a/api/test_main.py +++ b/api/test_main.py @@ -44,7 +44,7 @@ def test_minimise_code(): def test_minimise_code_and_get_link(): response = client.post( - url="/minimise/", + url="/minimise/link/", json={"code": SMALL_PROGRAM, "lang": "python3", "indentation": " "}, ) assert response.status_code == 200 @@ -55,7 +55,7 @@ def test_minimise_code_and_get_link(): } response = client.post( - url="/minimise/", + url="/minimise/link/", json={ "code": SMALL_PROGRAM, "lang": "python3",