mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-02 21:14:52 -04:00
pass a Site into RestHelper
This commit is contained in:
parent
023f791143
commit
d3523e3e97
2 changed files with 7 additions and 6 deletions
|
@ -253,7 +253,7 @@ class HomeserverTestCase(TestCase):
|
|||
|
||||
from tests.rest.client.v1.utils import RestHelper
|
||||
|
||||
self.helper = RestHelper(self.hs, self.resource, getattr(self, "user_id", None))
|
||||
self.helper = RestHelper(self.hs, self.site, getattr(self, "user_id", None))
|
||||
|
||||
if hasattr(self, "user_id"):
|
||||
if self.hijack_auth:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue