summary refs log tree commit diff
path: root/tests/rest/admin
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2019-11-08 10:19:15 +0000
committerGitHub <noreply@github.com>2019-11-08 10:19:15 +0000
commitf713c01e2b6b8dd79174376dd30387fcf83151e9 (patch)
tree0343cc53bda262d99bd3359febe52f05d15d6823 /tests/rest/admin
parentMerge pull request #6310 from matrix-org/babolivier/msc2326_bg_update (diff)
parentMove type annotation into docstring (diff)
downloadsynapse-f713c01e2b6b8dd79174376dd30387fcf83151e9.tar.xz
Merge pull request #6295 from matrix-org/erikj/split_purge_history
Split purge API into events vs state and add PurgeEventsStorage
Diffstat (limited to 'tests/rest/admin')
-rw-r--r--tests/rest/admin/test_admin.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/rest/admin/test_admin.py b/tests/rest/admin/test_admin.py
index 8e1ca8b738..d9f1b95cb0 100644
--- a/tests/rest/admin/test_admin.py
+++ b/tests/rest/admin/test_admin.py
@@ -628,10 +628,12 @@ class PurgeRoomTestCase(unittest.HomeserverTestCase):
             "local_invites",
             "room_account_data",
             "room_tags",
+            "state_groups",
+            "state_groups_state",
         ):
             count = self.get_success(
                 self.store._simple_select_one_onecol(
-                    table="events",
+                    table=table,
                     keyvalues={"room_id": room_id},
                     retcol="COUNT(*)",
                     desc="test_purge_room",