mirror of https://github.com/zulip/zulip.git
test_messages: Fix buggy test, bot tests must use /api/v1 endpoint.
This commit is contained in:
parent
7fedcbd840
commit
d60f6c9ad9
|
@ -1444,7 +1444,7 @@ class MessagePOSTTest(ZulipTestCase):
|
|||
# Cross realm bots should be allowed.
|
||||
notification_bot = get_system_bot("notification-bot@zulip.com")
|
||||
result = self.api_post(notification_bot.email,
|
||||
"/json/messages", {"type": "stream",
|
||||
"/api/v1/messages", {"type": "stream",
|
||||
"to": stream_name,
|
||||
"client": "test suite",
|
||||
"content": "Test message",
|
||||
|
|
Loading…
Reference in New Issue