summary refs log tree commit diff
path: root/tests
diff options
context:
space:
mode:
authorErik Johnston <erikj@jki.re>2018-08-24 16:53:11 +0100
committerGitHub <noreply@github.com>2018-08-24 16:53:11 +0100
commit48b04c4a4cc79f6fca6b55dcd929d9b9f49871cf (patch)
tree0eea86e76362d0a405cccb85d9a02c9028745a93 /tests
parentMerge pull request #3755 from matrix-org/erikj/fix_server_notice_tags (diff)
parentNewsfile (diff)
downloadsynapse-48b04c4a4cc79f6fca6b55dcd929d9b9f49871cf.tar.xz
Merge pull request #3756 from matrix-org/erikj/fix_tags_server_notices
Fix checking if service notice room is already tagged
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 fede3f52a9..0ddf4fd50d 100644
--- a/tests/server_notices/test_resource_limits_server_notices.py
+++ b/tests/server_notices/test_resource_limits_server_notices.py
@@ -55,6 +55,7 @@ class TestResourceLimitsServerNotices(unittest.TestCase):
             returnValue=""
         )
         self._rlsn._store.add_tag_to_room = Mock()
+        self._rlsn._store.get_tags_for_room = Mock(return_value={})
         self.hs.config.admin_uri = "mailto:user@test.com"
 
     @defer.inlineCallbacks