summary refs log tree commit diff
path: root/tests
diff options
context:
space:
mode:
authorH. Shay <hillerys@element.io>2023-07-18 15:41:41 -0700
committerH. Shay <hillerys@element.io>2023-07-18 15:41:41 -0700
commit2c3f20e28a00627261631cbf59dff377f2f3e481 (patch)
tree20b2e0e724adce451065562423eb8dc871ad838b /tests
parent1.88.0 (diff)
downloadsynapse-2c3f20e28a00627261631cbf59dff377f2f3e481.tar.xz
really stop reading from user_id
Diffstat (limited to 'tests')
-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 6f7b4bf642..9af9db6e3e 100644
--- a/tests/rest/admin/test_user.py
+++ b/tests/rest/admin/test_user.py
@@ -1418,7 +1418,7 @@ class DeactivateAccountTestCase(unittest.HomeserverTestCase):
         # To test deactivation for users without a profile, we delete the profile information for our user.
         self.get_success(
             self.store.db_pool.simple_delete_one(
-                table="profiles", keyvalues={"user_id": "user"}
+                table="profiles", keyvalues={"full_user_id": "@user:test"}
             )
         )