1
0

add in missing @defer.inlineCallbacks to test_auto_create_auto_join_where_no_consent

This commit is contained in:
Neil Johnson
2018-11-28 12:05:20 +00:00
parent 628c96e018
commit 6574fdd314

View File

@@ -194,6 +194,7 @@ class RegistrationTestCase(unittest.TestCase):
with self.assertRaises(SynapseError):
yield directory_handler.get_association(room_alias)
@defer.inlineCallbacks
def test_auto_create_auto_join_where_no_consent(self):
self.hs.config.user_consent_at_registration = True
self.hs.config.block_events_without_consent_error = "Error"