mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-12-10 05:23:49 -05:00
Remove more references to get_datastore (#12067)
These have snuck in since #12031 was started. Also a couple of other cleanups while we're in the area.
This commit is contained in:
parent
e24ff8ebe3
commit
5b2b36809f
4 changed files with 6 additions and 6 deletions
|
|
@ -1119,7 +1119,9 @@ class AccountStatusTestCase(unittest.HomeserverTestCase):
|
|||
"""Tests that the account status endpoint correctly reports a deactivated user."""
|
||||
user = self.register_user("someuser", "password")
|
||||
self.get_success(
|
||||
self.hs.get_datastore().set_user_deactivated_status(user, deactivated=True)
|
||||
self.hs.get_datastores().main.set_user_deactivated_status(
|
||||
user, deactivated=True
|
||||
)
|
||||
)
|
||||
|
||||
self._test_status(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue