Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Commit

Permalink
Fix broken testcase (#8851)
Browse files Browse the repository at this point in the history
This test was broken by #8565. It doesn't need to set set `self.clock`
here anyway - that is done by `setUp`.
  • Loading branch information
richvdh committed Dec 1, 2020
1 parent d1be293 commit 09ac056
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 1 addition & 0 deletions changelog.d/8851.misc
@@ -0,0 +1 @@
Simplify the way the `HomeServer` object caches its internal attributes.
1 change: 0 additions & 1 deletion tests/rest/admin/test_media.py
Expand Up @@ -192,7 +192,6 @@ def prepare(self, reactor, clock, hs):
self.handler = hs.get_device_handler()
self.media_repo = hs.get_media_repository_resource()
self.server_name = hs.hostname
self.clock = hs.clock

self.admin_user = self.register_user("admin", "pass", admin=True)
self.admin_user_tok = self.login("admin", "pass")
Expand Down

0 comments on commit 09ac056

Please sign in to comment.