diff options
author | Erik Johnston <erik@matrix.org> | 2018-08-24 16:51:27 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2018-08-24 16:51:27 +0100 |
commit | 05077e06fa527a9b504e34bbd14af53ba66d3f62 (patch) | |
tree | 46b20a6a5a0e9ba4abde6f7d3602b3c03a83f375 /tests/server_notices | |
parent | Merge pull request #3755 from matrix-org/erikj/fix_server_notice_tags (diff) | |
download | synapse-05077e06fa527a9b504e34bbd14af53ba66d3f62.tar.xz |
Change admin_uri to admin_contact in config and errors
Diffstat (limited to 'tests/server_notices')
-rw-r--r-- | tests/server_notices/test_resource_limits_server_notices.py | 4 |
1 files changed, 2 insertions, 2 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..494a7bc91e 100644 --- a/tests/server_notices/test_resource_limits_server_notices.py +++ b/tests/server_notices/test_resource_limits_server_notices.py @@ -55,7 +55,7 @@ class TestResourceLimitsServerNotices(unittest.TestCase): returnValue="" ) self._rlsn._store.add_tag_to_room = Mock() - self.hs.config.admin_uri = "mailto:user@test.com" + self.hs.config.admin_contact = "mailto:user@test.com" @defer.inlineCallbacks def test_maybe_send_server_notice_to_user_flag_off(self): @@ -172,7 +172,7 @@ class TestResourceLimitsServerNoticesWithRealRooms(unittest.TestCase): self.user_id = "@user_id:test" - self.hs.config.admin_uri = "mailto:user@test.com" + self.hs.config.admin_contact = "mailto:user@test.com" @defer.inlineCallbacks def test_server_notice_only_sent_once(self): |