mirror of
https://github.com/element-hq/synapse.git
synced 2024-12-19 17:56:19 +03:00
Fix unit test
This commit is contained in:
parent
91e895cb4e
commit
3069d3b01c
1 changed files with 4 additions and 1 deletions
|
@ -238,8 +238,11 @@ class RedactionTestCase(unittest.HomeserverTestCase):
|
|||
@defer.inlineCallbacks
|
||||
def build(self, prev_event_ids):
|
||||
built_event = yield self._base_builder.build(prev_event_ids)
|
||||
built_event.event_id = self._event_id
|
||||
|
||||
built_event._event_id = self._event_id
|
||||
built_event._event_dict["event_id"] = self._event_id
|
||||
assert built_event.event_id == self._event_id
|
||||
|
||||
return built_event
|
||||
|
||||
@property
|
||||
|
|
Loading…
Reference in a new issue