Skip to content

Commit

Permalink
Update test
Browse files Browse the repository at this point in the history
  • Loading branch information
maelys-buhler committed Apr 26, 2024
1 parent 0ce4066 commit 495b97d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/masteriqapp/tests/test_routes.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 495b97d

Please sign in to comment.