mirror of
https://github.com/zulip/zulip.git
synced 2025-11-02 13:03:29 +00:00
test_presence: Switch data setup from pointer to message flags.
This test is poorly written, in that it doesn't actually do any verification of the results, but this at least is the correct conversion of the data setup for it such that if we did verify its results, the data we populated was relevant.
This commit is contained in:
@@ -27,7 +27,7 @@ class ActivityTest(ZulipTestCase):
|
||||
def test_activity(self, unused_mock: mock.Mock) -> None:
|
||||
self.login('hamlet')
|
||||
client, _ = Client.objects.get_or_create(name='website')
|
||||
query = '/json/users/me/pointer'
|
||||
query = '/json/messages/flags'
|
||||
last_visit = timezone_now()
|
||||
count = 150
|
||||
for activity_user_profile in UserProfile.objects.all():
|
||||
|
||||
Reference in New Issue
Block a user