summary refs log tree commit diff
path: root/tests/handlers
diff options
context:
space:
mode:
authorRichard van der Hoff <1389908+richvdh@users.noreply.github.com>2022-05-17 12:07:18 +0200
committerGitHub <noreply@github.com>2022-05-17 11:07:18 +0100
commit24b590de32154eb3965220bd62715e52b37b4074 (patch)
tree0e9e5c3f69f83512d110df9ea05746e1012d6252 /tests/handlers
parentFix push for m.read events (#12721) (diff)
downloadsynapse-24b590de32154eb3965220bd62715e52b37b4074.tar.xz
Remove code which updates `application_services_state.last_txn` (#12680)
This column is unused as of #12209, so let's stop writing to it.
Diffstat (limited to 'tests/handlers')
-rw-r--r--tests/handlers/test_appservice.py10
1 files changed, 0 insertions, 10 deletions
diff --git a/tests/handlers/test_appservice.py b/tests/handlers/test_appservice.py
index 5b0cd1ab86..53e7a5d81b 100644
--- a/tests/handlers/test_appservice.py
+++ b/tests/handlers/test_appservice.py
@@ -434,16 +434,6 @@ class ApplicationServicesHandlerSendEventsTestCase(unittest.HomeserverTestCase):
             },
         )
 
-        # "Complete" a transaction.
-        # All this really does for us is make an entry in the application_services_state
-        # database table, which tracks the current stream_token per stream ID per AS.
-        self.get_success(
-            self.hs.get_datastores().main.complete_appservice_txn(
-                0,
-                interested_appservice,
-            )
-        )
-
         # Now, pretend that we receive a large burst of read receipts (300 total) that
         # all come in at once.
         for i in range(300):