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