From 66f205e93d933b18a2ba6fe7fa5c9dc33e4190f6 Mon Sep 17 00:00:00 2001
From: Andrew Morgan <andrew@amorgan.xyz>
Date: Mon, 11 Mar 2019 18:01:58 +0000
Subject: [PATCH] We're calling different functions now

---
 tests/handlers/test_typing.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tests/handlers/test_typing.py b/tests/handlers/test_typing.py
index b8e97390de..8589a2ee9d 100644
--- a/tests/handlers/test_typing.py
+++ b/tests/handlers/test_typing.py
@@ -177,7 +177,7 @@ class TypingNotificationsTestCase(unittest.HomeserverTestCase):
             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(
             "farm",
             path="/_matrix/federation/v1/send/1000000",
@@ -254,7 +254,7 @@ class TypingNotificationsTestCase(unittest.HomeserverTestCase):
             [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(
             "farm",
             path="/_matrix/federation/v1/send/1000000",
-- 
GitLab