diff --git a/zerver/tests/test_subs.py b/zerver/tests/test_subs.py index 4d564ec5f3..7414ae3ed4 100644 --- a/zerver/tests/test_subs.py +++ b/zerver/tests/test_subs.py @@ -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(),