From 256982b3f8a28068f6e4ab995e10a24e7d2eae76 Mon Sep 17 00:00:00 2001 From: Tim Abbott Date: Sat, 27 Jun 2020 16:43:06 -0700 Subject: [PATCH] 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. --- zerver/tests/test_presence.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zerver/tests/test_presence.py b/zerver/tests/test_presence.py index 52cb221ee9..c2561bdf34 100644 --- a/zerver/tests/test_presence.py +++ b/zerver/tests/test_presence.py @@ -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():