Fix tests

This commit is contained in:
David Baker 2015-03-24 18:56:51 +00:00
parent 438a21c87b
commit ce2766d19c
5 changed files with 14 additions and 14 deletions

View file

@ -67,7 +67,7 @@ class RoomTypingTestCase(RestTestCase):
"token_id": 1,
}
hs.get_auth().get_user_by_token = _get_user_by_token
hs.get_v1auth().get_user_by_token = _get_user_by_token
def _insert_client_ip(*args, **kwargs):
return defer.succeed(None)