mirror of https://github.com/zulip/zulip.git
test_activity: Increase expected query count by 1.
This is required because the Zulip UserProfile caching logic has
changed with 8e5e6a06f2
, and sometimes
the current user will not be in the cache.
This commit is contained in:
parent
f7083b4079
commit
297566510c
|
@ -441,7 +441,7 @@ class ActivityTest(AuthedTestCase):
|
|||
with queries_captured() as queries:
|
||||
self.client_get('/activity')
|
||||
|
||||
self.assert_length(queries, 12)
|
||||
self.assert_length(queries, 13)
|
||||
|
||||
class UserProfileTest(TestCase):
|
||||
def test_get_emails_from_user_ids(self):
|
||||
|
|
Loading…
Reference in New Issue