diff --git a/test/server/test_presence_detection.py b/test/server/test_presence_detection.py index 2e62f60e..3a993bee 100644 --- a/test/server/test_presence_detection.py +++ b/test/server/test_presence_detection.py @@ -87,6 +87,7 @@ def minimal_patches(): insertOnlineHistory=Mock(), skip_repeated_notifications=Mock(), update_unread_notifications_count=Mock(), + insert_events=Mock(), ): yield