summary refs log tree commit diff
path: root/tests
diff options
context:
space:
mode:
authorPatrick Cloke <clokep@users.noreply.github.com>2020-05-01 15:28:59 -0400
committerGitHub <noreply@github.com>2020-05-01 15:28:59 -0400
commit032e5a2acaa26511a00801eedd71e35d21c791fa (patch)
treea357ecdcbda7be98cac2086c28f01731c8c901e9 /tests
parentConvert the synapse.notifier module to async/await. (#7395) (diff)
downloadsynapse-032e5a2acaa26511a00801eedd71e35d21c791fa.tar.xz
Convert synapse.server_notices to async/await. (#7394)
Diffstat (limited to 'tests')
-rw-r--r--tests/server_notices/test_resource_limits_server_notices.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/server_notices/test_resource_limits_server_notices.py b/tests/server_notices/test_resource_limits_server_notices.py
index 987addad9b..406f29a7c0 100644
--- a/tests/server_notices/test_resource_limits_server_notices.py
+++ b/tests/server_notices/test_resource_limits_server_notices.py
@@ -67,7 +67,7 @@ class TestResourceLimitsServerNotices(unittest.HomeserverTestCase):
             return_value=defer.succeed("!something:localhost")
         )
         self._rlsn._store.add_tag_to_room = Mock(return_value=defer.succeed(None))
-        self._rlsn._store.get_tags_for_room = Mock(return_value={})
+        self._rlsn._store.get_tags_for_room = Mock(return_value=defer.succeed({}))
         self.hs.config.admin_contact = "mailto:user@test.com"
 
     def test_maybe_send_server_notice_to_user_flag_off(self):