mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-01-31 04:53:22 -05:00
Fix tests
This commit is contained in:
parent
942e39e87c
commit
261ccd7f5f
@ -114,6 +114,8 @@ class MockHttpResource(HttpServer):
|
|||||||
mock_request.method = http_method
|
mock_request.method = http_method
|
||||||
mock_request.uri = path
|
mock_request.uri = path
|
||||||
|
|
||||||
|
mock_request.getClientIP.return_value = "-"
|
||||||
|
|
||||||
mock_request.requestHeaders.getRawHeaders.return_value=[
|
mock_request.requestHeaders.getRawHeaders.return_value=[
|
||||||
"X-Matrix origin=test,key=,sig="
|
"X-Matrix origin=test,key=,sig="
|
||||||
]
|
]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user