diff options
author | dklimpel <5740567+dklimpel@users.noreply.github.com> | 2020-03-09 22:09:29 +0100 |
---|---|---|
committer | dklimpel <5740567+dklimpel@users.noreply.github.com> | 2020-03-09 22:09:29 +0100 |
commit | 885134529ffd95dd118d3228e69f0e3553f5a6a7 (patch) | |
tree | e403d017b9aa9abf4721490c40e0edc5a809e8cb /tests/handlers | |
parent | fix tests (diff) | |
download | synapse-885134529ffd95dd118d3228e69f0e3553f5a6a7.tar.xz |
updates after review
Diffstat (limited to 'tests/handlers')
-rw-r--r-- | tests/handlers/test_profile.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/handlers/test_profile.py b/tests/handlers/test_profile.py index f8c0da5ced..e600b9777b 100644 --- a/tests/handlers/test_profile.py +++ b/tests/handlers/test_profile.py @@ -93,7 +93,7 @@ class ProfileTestCase(unittest.TestCase): @defer.inlineCallbacks def test_set_my_name_if_disabled(self): - self.hs.config.disable_set_displayname = True + self.hs.config.enable_set_displayname = False # Set first displayname is allowed, if displayname is null yield self.store.set_profile_displayname(self.frank.localpart, "Frank") @@ -164,9 +164,9 @@ class ProfileTestCase(unittest.TestCase): @defer.inlineCallbacks def test_set_my_avatar_if_disabled(self): - self.hs.config.disable_set_avatar_url = True + self.hs.config.enable_set_avatar_url = False - # Set first time avatar is allowed, if displayname is null + # Set first time avatar is allowed, if avatar is null yield self.store.set_profile_avatar_url( self.frank.localpart, "http://my.server/me.png" ) |