Fixed broken test
Browse files
backend/tests/test_api.py
CHANGED
@@ -64,8 +64,7 @@ def test_successful_feedback():
|
|
64 |
|
65 |
|
66 |
def test_topics_endpoint():
|
67 |
-
|
68 |
-
response = client.post("/api/topics")
|
69 |
assert response.status_code == 200
|
70 |
result = response.json()
|
71 |
|
|
|
64 |
|
65 |
|
66 |
def test_topics_endpoint():
|
67 |
+
response = client.get("/api/topics")
|
|
|
68 |
assert response.status_code == 200
|
69 |
result = response.json()
|
70 |
|