mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-06-01 18:04:25 -04:00
Remove HomeServer.get_datastore()
(#12031)
The presence of this method was confusing, and mostly present for backwards compatibility. Let's get rid of it. Part of #11733
This commit is contained in:
parent
c1ac2a8135
commit
e24ff8ebe3
230 changed files with 526 additions and 500 deletions
|
@ -44,7 +44,7 @@ class EventCreationTestCase(unittest.HomeserverTestCase):
|
|||
self.room_id = self.helper.create_room_as(self.user_id, tok=self.access_token)
|
||||
|
||||
self.info = self.get_success(
|
||||
self.hs.get_datastore().get_user_by_access_token(
|
||||
self.hs.get_datastores().main.get_user_by_access_token(
|
||||
self.access_token,
|
||||
)
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue