service bot tests: Remove bot stream subscription.

Since service bots react to all @-mentions, the
stream subscription was redundant.
This commit is contained in:
derAnfaenger
2017-11-02 17:21:30 +01:00
committed by Tim Abbott
parent aaaed74c3d
commit 2155b255d6

View File

@@ -193,9 +193,6 @@ class TestServiceBotEventTriggers(ZulipTestCase):
bot_type=UserProfile.OUTGOING_WEBHOOK_BOT,
bot_owner=self.user_profile)
# TODO: In future versions this won't be required
self.subscribe(self.bot_profile, 'Denmark')
@mock.patch('zerver.lib.actions.queue_json_publish')
def test_trigger_on_stream_mention_from_user(self, mock_queue_json_publish):
# type: (mock.Mock) -> None