Skip to content

Commit

Permalink
tests: model: Add change_later test case for test_update_stream_message.
Browse files Browse the repository at this point in the history
  • Loading branch information
srdeotarse authored and neiljp committed Apr 9, 2022
1 parent c456528 commit 7196234
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions tests/model/test_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -874,6 +874,16 @@ def test_update_private_message(
"terminal",
None, # None as footer is not updated.
),
case(
{
"message_id": 1,
"propagate_mode": "change_later",
"content": ":smile:",
"topic": "new_terminal",
},
"old_terminal",
"You changed some messages' topic from #stream > old_terminal to #stream > new_terminal.",
),
case(
{
"message_id": 1,
Expand Down

0 comments on commit 7196234

Please sign in to comment.