mirror of
https://github.com/element-hq/synapse.git
synced 2024-12-14 11:57:44 +00:00
Fix redaction storage test
This commit is contained in:
parent
cdc1b5d629
commit
c174d19d1e
1 changed files with 4 additions and 0 deletions
|
@ -71,6 +71,8 @@ class RedactionTestCase(unittest.TestCase):
|
|||
|
||||
event.state_events = None
|
||||
event.hashes = {}
|
||||
event.prev_state = []
|
||||
event.auth_events = []
|
||||
|
||||
# Have to create a join event using the eventfactory
|
||||
yield self.store.persist_event(
|
||||
|
@ -94,6 +96,7 @@ class RedactionTestCase(unittest.TestCase):
|
|||
|
||||
event.state_events = None
|
||||
event.hashes = {}
|
||||
event.auth_events = []
|
||||
|
||||
yield self.store.persist_event(
|
||||
event
|
||||
|
@ -115,6 +118,7 @@ class RedactionTestCase(unittest.TestCase):
|
|||
|
||||
event.state_events = None
|
||||
event.hashes = {}
|
||||
event.auth_events = []
|
||||
|
||||
yield self.store.persist_event(
|
||||
event
|
||||
|
|
Loading…
Reference in a new issue