mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2024-10-01 11:49:51 -04:00
Fix broken testcase (#8851)
This test was broken by #8565. It doesn't need to set set `self.clock` here anyway - that is done by `setUp`.
This commit is contained in:
parent
d1be293f00
commit
09ac0569fe
1
changelog.d/8851.misc
Normal file
1
changelog.d/8851.misc
Normal file
@ -0,0 +1 @@
|
|||||||
|
Simplify the way the `HomeServer` object caches its internal attributes.
|
@ -192,7 +192,6 @@ class DeleteMediaByDateSizeTestCase(unittest.HomeserverTestCase):
|
|||||||
self.handler = hs.get_device_handler()
|
self.handler = hs.get_device_handler()
|
||||||
self.media_repo = hs.get_media_repository_resource()
|
self.media_repo = hs.get_media_repository_resource()
|
||||||
self.server_name = hs.hostname
|
self.server_name = hs.hostname
|
||||||
self.clock = hs.clock
|
|
||||||
|
|
||||||
self.admin_user = self.register_user("admin", "pass", admin=True)
|
self.admin_user = self.register_user("admin", "pass", admin=True)
|
||||||
self.admin_user_tok = self.login("admin", "pass")
|
self.admin_user_tok = self.login("admin", "pass")
|
||||||
|
Loading…
Reference in New Issue
Block a user