From 495b97d3aa722397b6ddd1050ff82027041cb276 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?B=C3=BChler=20Ma=C3=ABlys?= Date: Fri, 26 Apr 2024 10:02:32 +0200 Subject: [PATCH] Update test --- api/masteriqapp/tests/test_routes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/masteriqapp/tests/test_routes.py b/api/masteriqapp/tests/test_routes.py index b9a8778..71ccf87 100644 --- a/api/masteriqapp/tests/test_routes.py +++ b/api/masteriqapp/tests/test_routes.py @@ -33,7 +33,7 @@ def test_route(self): "options": ["11", "15", "He wasnt born"], "answer": "1"}, headers=headers) - response = c.get("/api/question/options/", headers=headers) + response = c.get("/api/question/1/options/", headers=headers) assert response.status_code == 200 assert response.json()['question_id'] is not None assert response.json()['number_of_options'] is not None