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>2020-11-19 10:05:33 +0000
committerGitHub <noreply@github.com>2020-11-19 10:05:33 +0000
commit950bb0305fc3c114f456eb4e2a806014150545d2 (patch)
tree7e76c5b8cfa00e282be2e673c0acf888f54904bc /tests/handlers
parentImprove appservice handler to send only the most recent read receipts when no... (diff)
downloadsynapse-950bb0305fc3c114f456eb4e2a806014150545d2.tar.xz
Consistently use room_id from federation request body (#8776)
* Consistently use room_id from federation request body

Some federation APIs have a redundant `room_id` path param (see
https://github.com/matrix-org/matrix-doc/issues/2330). We should make sure we
consistently use either the path param or the body param, and the body param is
easier.

* Kill off some references to "context"

Once upon a time, "rooms" were known as "contexts". I think this kills of the
last references to "contexts".
Diffstat (limited to 'tests/handlers')
-rw-r--r--tests/handlers/test_federation.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/tests/handlers/test_federation.py b/tests/handlers/test_federation.py
index 9ef80fe502..bf866dacf3 100644
--- a/tests/handlers/test_federation.py
+++ b/tests/handlers/test_federation.py
@@ -59,7 +59,6 @@ class FederationTestCase(unittest.HomeserverTestCase):
         )
 
         d = self.handler.on_exchange_third_party_invite_request(
-            room_id=room_id,
             event_dict={
                 "type": EventTypes.Member,
                 "room_id": room_id,