home · contact · privacy
Create choice for creating Todos with or without children.
[plomtask] / tests / days.py
index d34d7ba794e16476fd2f0c54fa28f39c5e77ea74..286f75815ef51e74ade9e15e96bdb85dc4218a4b 100644 (file)
@@ -118,8 +118,8 @@ class TestsWithServer(TestCaseWithServer):
 
     def test_do_POST_day(self) -> None:
         """Test POST /day."""
-        form_data = {'day_comment': ''}
+        form_data = {'day_comment': '', 'make_type': 'full'}
         self.check_post(form_data, '/day', 400)
         self.check_post(form_data, '/day?date=foo', 400)
-        self.check_post(form_data, '/day?date=2024-01-01', 302)
+        self.check_post(form_data, '/day?date=2024-01-01&make_type=full', 302)
         self.check_post({'foo': ''}, '/day?date=2024-01-01', 400)