mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-12-11 00:44:04 -05:00
Fix third-party event modules for check_visibility_can_be_modified check
PR #8292 tried to maintain backwards compat with modules which don't provide a `check_visibility_can_be_modified` method, but the tests weren't being run, and the check didn't work.
This commit is contained in:
parent
da11cc22be
commit
4cd1448d0e
3 changed files with 5 additions and 2 deletions
|
|
@ -49,7 +49,7 @@ class ThirdPartyRulesTestCase(unittest.HomeserverTestCase):
|
|||
def make_homeserver(self, reactor, clock):
|
||||
config = self.default_config()
|
||||
config["third_party_event_rules"] = {
|
||||
"module": "tests.rest.client.third_party_rules.ThirdPartyRulesTestModule",
|
||||
"module": __name__ + ".ThirdPartyRulesTestModule",
|
||||
"config": {},
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue