summary refs log tree commit diff
path: root/tests/rest/client/v1/test_typing.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/rest/client/v1/test_typing.py')
-rw-r--r--tests/rest/client/v1/test_typing.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/rest/client/v1/test_typing.py b/tests/rest/client/v1/test_typing.py

index 6395ce79db..8433585616 100644 --- a/tests/rest/client/v1/test_typing.py +++ b/tests/rest/client/v1/test_typing.py
@@ -61,10 +61,11 @@ class RoomTypingTestCase(RestTestCase): hs.get_handlers().federation_handler = Mock() - def _get_user_by_access_token(token=None): + def _get_user_by_access_token(token=None, allow_guest=False): return { "user": UserID.from_string(self.auth_user_id), "token_id": 1, + "is_guest": False, } hs.get_v1auth()._get_user_by_access_token = _get_user_by_access_token