diff --git a/openslides_backend/action/actions/motion_workflow/create.py b/openslides_backend/action/actions/motion_workflow/create.py index f1308afd8..655b03f6f 100644 --- a/openslides_backend/action/actions/motion_workflow/create.py +++ b/openslides_backend/action/actions/motion_workflow/create.py @@ -83,7 +83,7 @@ def update_instance(self, instance: Dict[str, Any]) -> Dict[str, Any]: "workflow_id": instance["id"], }, { - "name": "not_decided", + "name": "not decided", "recommendation_label": "No decision", "css_class": "grey", "merge_amendment_into_final": "do_not_merge", diff --git a/tests/system/action/meeting/test_create.py b/tests/system/action/meeting/test_create.py index e98c6eaf9..638b85862 100644 --- a/tests/system/action/meeting/test_create.py +++ b/tests/system/action/meeting/test_create.py @@ -104,7 +104,7 @@ def test_create_simple_and_complex_workflow(self) -> None: "motion_state/3", {"name": "rejected", "previous_state_ids": [1]} ) self.assert_model_exists( - "motion_state/4", {"name": "not_decided", "previous_state_ids": [1]} + "motion_state/4", {"name": "not decided", "previous_state_ids": [1]} ) self.assert_model_exists( "motion_workflow/2", diff --git a/tests/system/action/motion_workflow/test_create.py b/tests/system/action/motion_workflow/test_create.py index 351ed4bd4..00796f800 100644 --- a/tests/system/action/motion_workflow/test_create.py +++ b/tests/system/action/motion_workflow/test_create.py @@ -70,7 +70,7 @@ def test_create_simple_workflow(self) -> None: ) self.assert_model_exists( "motion_state/4", - {"name": "not_decided", "weight": 4, "previous_state_ids": [1]}, + {"name": "not decided", "weight": 4, "previous_state_ids": [1]}, ) def test_create_no_permissions(self) -> None: