summary refs log tree commit diff
path: root/tests/rest/admin/test_user.py
diff options
context:
space:
mode:
authorPatrick Cloke <patrickc@matrix.org>2023-11-09 11:14:57 -0500
committerPatrick Cloke <patrickc@matrix.org>2023-11-09 11:14:57 -0500
commit8c2d3d0b4cf674ec9b8fa582d50e66cd0960a73b (patch)
tree115f6d18fb7dbbfc710f40a68d7c4d0007be056c /tests/rest/admin/test_user.py
parentMerge remote-tracking branch 'origin/develop' into matrix-org-hotfixes (diff)
parentConvert simple_select_one_txn and simple_select_one to return tuples. (#16612) (diff)
downloadsynapse-8c2d3d0b4cf674ec9b8fa582d50e66cd0960a73b.tar.xz
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
Diffstat (limited to 'tests/rest/admin/test_user.py')
-rw-r--r--tests/rest/admin/test_user.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/rest/admin/test_user.py b/tests/rest/admin/test_user.py

index 37f37a09d8..42b065d883 100644 --- a/tests/rest/admin/test_user.py +++ b/tests/rest/admin/test_user.py
@@ -2706,7 +2706,7 @@ class UserRestTestCase(unittest.HomeserverTestCase): # is in user directory profile = self.get_success(self.store._get_user_in_directory(self.other_user)) assert profile is not None - self.assertTrue(profile["display_name"] == "User") + self.assertEqual(profile[0], "User") # Deactivate user channel = self.make_request(