mirror of https://github.com/zulip/zulip.git
Make GetProfileTest tests pass deteministically.
(Make sure users have at least one message in their stream.) (imported from commit a6654447ae9a9626f5b3d5e01ffaa00dde17c79b)
This commit is contained in:
parent
7b30a8e7c0
commit
86e89b66e7
|
@ -1677,6 +1677,7 @@ class GetProfileTest(AuthedTestCase):
|
|||
|
||||
def common_get_profile(self, email):
|
||||
user_profile = self.get_user_profile(email)
|
||||
self.send_message(email, "Verona", Recipient.STREAM, "hello")
|
||||
|
||||
api_key = self.get_api_key(email)
|
||||
result = self.client.post("/api/v1/get_profile", {'email': email, 'api-key': api_key})
|
||||
|
|
Loading…
Reference in New Issue