mirror of https://github.com/zulip/zulip.git
Fix 'Stream does not exist' test.
(imported from commit d4f0f3deaa3cc4b9cab67c90b87aa8bff2e72653)
This commit is contained in:
parent
013a2381b2
commit
70f21f9d8e
|
@ -354,8 +354,7 @@ class MessagePOSTTest(AuthedTestCase):
|
||||||
"client": "test suite",
|
"client": "test suite",
|
||||||
"content": "Test message",
|
"content": "Test message",
|
||||||
"subject": "Test subject"})
|
"subject": "Test subject"})
|
||||||
self.assert_json_success(result)
|
self.assert_json_error(result, "Stream does not exist")
|
||||||
self.assertTrue(Stream.objects.filter(name="nonexistent_stream"))
|
|
||||||
|
|
||||||
def test_personal_message(self):
|
def test_personal_message(self):
|
||||||
"""
|
"""
|
||||||
|
|
Loading…
Reference in New Issue