summary refs log tree commit diff
path: root/tests/rest/admin
diff options
context:
space:
mode:
authorDirk Klimpel <5740567+dklimpel@users.noreply.github.com>2022-09-08 17:41:48 +0200
committerGitHub <noreply@github.com>2022-09-08 15:41:48 +0000
commitf799eac7ea96f943ad1272a5a81f845dfa08a254 (patch)
treef966214e3e9a49ac68364f0c51f82229ac442ff0 /tests/rest/admin
parentUpdate docstrings to explain the impact of partial state (#13750) (diff)
downloadsynapse-f799eac7ea96f943ad1272a5a81f845dfa08a254.tar.xz
Add timestamp to user's consent (#13741)
Co-authored-by: reivilibre <olivier@librepush.net>
Diffstat (limited to 'tests/rest/admin')
-rw-r--r--tests/rest/admin/test_user.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/rest/admin/test_user.py b/tests/rest/admin/test_user.py
index 1afd082707..ec5ccf6fca 100644
--- a/tests/rest/admin/test_user.py
+++ b/tests/rest/admin/test_user.py
@@ -2580,6 +2580,7 @@ class UserRestTestCase(unittest.HomeserverTestCase):
         self.assertIn("appservice_id", content)
         self.assertIn("consent_server_notice_sent", content)
         self.assertIn("consent_version", content)
+        self.assertIn("consent_ts", content)
         self.assertIn("external_ids", content)
 
         # This key was removed intentionally. Ensure it is not accidentally re-included.