diff options
author | Andrej Shadura <andrewsh@debian.org> | 2021-10-19 19:02:19 +0200 |
---|---|---|
committer | Andrej Shadura <andrewsh@debian.org> | 2021-10-19 19:02:19 +0200 |
commit | 94d2082531bf10c3cdf17b4e8fde9ca1a6c9de40 (patch) | |
tree | 8a96d1eb4c266243e10504a968fd49cb780df9d4 /tests/handlers/test_profile.py | |
parent | 6b06932344e635f554420698ecd1954e31d0c6ea (diff) |
New upstream version 1.45.0
Diffstat (limited to 'tests/handlers/test_profile.py')
-rw-r--r-- | tests/handlers/test_profile.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/handlers/test_profile.py b/tests/handlers/test_profile.py index 57cc3e26..c153018f 100644 --- a/tests/handlers/test_profile.py +++ b/tests/handlers/test_profile.py @@ -110,7 +110,7 @@ class ProfileTestCase(unittest.HomeserverTestCase): ) def test_set_my_name_if_disabled(self): - self.hs.config.enable_set_displayname = False + self.hs.config.registration.enable_set_displayname = False # Setting displayname for the first time is allowed self.get_success( @@ -225,7 +225,7 @@ class ProfileTestCase(unittest.HomeserverTestCase): ) def test_set_my_avatar_if_disabled(self): - self.hs.config.enable_set_avatar_url = False + self.hs.config.registration.enable_set_avatar_url = False # Setting displayname for the first time is allowed self.get_success( |