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:
Tim Abbott
2020-06-27 16:43:06 -07:00
parent 94b0a496a9
commit 256982b3f8

View File

@@ -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():