summary refs log tree commit diff
path: root/tests
diff options
context:
space:
mode:
authorNeil Johnson <neil@matrix.org>2018-08-16 17:02:04 +0100
committerNeil Johnson <neil@matrix.org>2018-08-16 17:02:04 +0100
commit3c1080b6e4a4d7c80d67bd9bee45d845aa145088 (patch)
treeb0a8e34776648e8f620c509359bbb27ca8417359 /tests
parentadd room tagging (diff)
downloadsynapse-3c1080b6e4a4d7c80d67bd9bee45d845aa145088.tar.xz
refactor for readability, and reuse caching for setting tags
Diffstat (limited to 'tests')
-rw-r--r--tests/server_notices/test_resource_limits_server_notices.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/server_notices/test_resource_limits_server_notices.py b/tests/server_notices/test_resource_limits_server_notices.py
index fb8c593a75..ccb69097b1 100644
--- a/tests/server_notices/test_resource_limits_server_notices.py
+++ b/tests/server_notices/test_resource_limits_server_notices.py
@@ -54,6 +54,7 @@ class TestResourceLimitsServerNotices(unittest.TestCase):
         self._rlsn._server_notices_manager.get_notice_room_for_user = Mock(
             returnValue=""
         )
+        self._rlsn._store.add_tag_to_room = Mock()
         self.hs.config.admin_uri = "mailto:user@test.com"
 
     @defer.inlineCallbacks