We're calling different functions now

This commit is contained in:
Andrew Morgan 2019-03-11 18:01:58 +00:00
parent f18dca26da
commit 66f205e93d

View File

@ -177,7 +177,7 @@ class TypingNotificationsTestCase(unittest.HomeserverTestCase):
timeout=20000, timeout=20000,
)) ))
put_json = self.hs.get_http_client().put_json put_json = self.hs.get_http_client().put_json_with_trailing_slashes_on_404(
put_json.assert_called_once_with( put_json.assert_called_once_with(
"farm", "farm",
path="/_matrix/federation/v1/send/1000000", path="/_matrix/federation/v1/send/1000000",
@ -254,7 +254,7 @@ class TypingNotificationsTestCase(unittest.HomeserverTestCase):
[call('typing_key', 1, rooms=[ROOM_ID])] [call('typing_key', 1, rooms=[ROOM_ID])]
) )
put_json = self.hs.get_http_client().put_json put_json = self.hs.get_http_client().put_json_with_trailing_slashes_on_404(
put_json.assert_called_once_with( put_json.assert_called_once_with(
"farm", "farm",
path="/_matrix/federation/v1/send/1000000", path="/_matrix/federation/v1/send/1000000",