Skip to content

Commit

Permalink
Add missing property to meeting.update. (#806)
Browse files Browse the repository at this point in the history
Add the list_of_speakers_enable_point_of_order_speakers property to
meeting update.
  • Loading branch information
reiterl committed Jun 28, 2021
1 parent 13bf48e commit 78c1d4f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
3 changes: 2 additions & 1 deletion openslides_backend/action/actions/meeting/update.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,10 +52,11 @@
"list_of_speakers_show_amount_of_speakers_on_slide",
"list_of_speakers_present_users_only",
"list_of_speakers_show_first_contribution",
"list_of_speakers_initially_closed",
"list_of_speakers_enable_point_of_order_speakers",
"list_of_speakers_enable_pro_contra_speech",
"list_of_speakers_can_set_contribution_self",
"list_of_speakers_speaker_note_for_everyone",
"list_of_speakers_initially_closed",
"motions_default_workflow_id",
"motions_default_amendment_workflow_id",
"motions_default_statute_amendment_workflow_id",
Expand Down
6 changes: 6 additions & 0 deletions tests/system/action/meeting/test_update.py
Original file line number Diff line number Diff line change
Expand Up @@ -357,3 +357,9 @@ def test_update_group_f_permissions(self) -> None:
},
OrganizationManagementLevel.SUPERADMIN,
)

def test_update_list_of_speakers_enable_point_of_order_speakers(self) -> None:
self.basic_test({"list_of_speakers_enable_point_of_order_speakers": True})
self.assert_model_exists(
"meeting/1", {"list_of_speakers_enable_point_of_order_speakers": True}
)

0 comments on commit 78c1d4f

Please sign in to comment.