X-Git-Url: https://plomlompom.com/repos/foo.html?a=blobdiff_plain;f=tests%2Fconditions.py;h=3b95de1f3fe7e89cc30a14f149983d14ad690962;hb=e14580b4ee47363cad317e4ec1de91affe03d53a;hp=b6510a1afbf2b7435679573ad45fbd8a8ac5ff57;hpb=ee18435127ad396c24dbee2c7efcdbe6810d5a91;p=plomtask
diff --git a/tests/conditions.py b/tests/conditions.py
index b6510a1..3b95de1 100644
--- a/tests/conditions.py
+++ b/tests/conditions.py
@@ -43,7 +43,7 @@ class TestsWithServer(TestCaseWithServer):
def test_do_POST_condition(self) -> None:
"""Test POST /condition and its effect on the database."""
form_data = {'title': 'foo', 'description': 'foo'}
- self.check_post(form_data, '/condition', 302, '/')
+ self.check_post(form_data, '/condition', 302, '/condition?id=1')
self.assertEqual(1, len(Condition.all(self.db_conn)))
def test_do_GET(self) -> None: