mirror of
https://github.com/zulip/zulip.git
synced 2025-11-02 04:53:36 +00:00
test-subs: Make new channel name consistent in notification bot test.
Updates final check in test_notification_bot_dm_on_subscription to use the same pattern for the new channel name, and adds a comment to clarify what that final check is for since it doesn't look at the Notification Bot DM or channel messages for that case.
This commit is contained in:
committed by
Tim Abbott
parent
14581de0de
commit
1030f41884
@@ -5172,9 +5172,12 @@ class SubscriptionAPITest(ZulipTestCase):
|
||||
"```` quote\n*No description.*\n````",
|
||||
)
|
||||
|
||||
# When send_new_subscription_messages is false, confirm that the
|
||||
# response doesn't include new_subscription_messages_sent boolean
|
||||
# field.
|
||||
response = self.subscribe_via_post(
|
||||
desdemona,
|
||||
["Test stream 3"],
|
||||
["test E"],
|
||||
dict(
|
||||
principals=orjson.dumps(user_ids).decode(),
|
||||
send_new_subscription_messages=orjson.dumps(False).decode(),
|
||||
|
||||
Reference in New Issue
Block a user