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:
Lauryn Menard
2025-09-08 12:26:47 +02:00
committed by Tim Abbott
parent 14581de0de
commit 1030f41884

View File

@@ -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(),