summary refs log tree commit diff
path: root/tests
diff options
context:
space:
mode:
authorShay <hillerys@element.io>2023-07-23 16:30:54 -0700
committerGitHub <noreply@github.com>2023-07-23 16:30:54 -0700
commitf08d05dd2ce8ab38240cfa691b07a27cff0356e9 (patch)
treebb318a4a923a5268befd06a60fe36960088c776d /tests
parentBuild packages for Debian Trixie (#15961) (diff)
downloadsynapse-f08d05dd2ce8ab38240cfa691b07a27cff0356e9.tar.xz
Actually stop reading from column `user_id` of tables `profiles` (#15955)
Diffstat (limited to '')
-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"}
             )
         )