mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-09-19 06:54:36 -04:00
Make work in both Maria and SQLite. Fix tests
This commit is contained in:
parent
0e8f5095c7
commit
9236136f3a
36 changed files with 296 additions and 160 deletions
|
@ -96,8 +96,13 @@ class TypingNotificationsTestCase(unittest.TestCase):
|
|||
self.event_source = hs.get_event_sources().sources["typing"]
|
||||
|
||||
self.datastore = hs.get_datastore()
|
||||
retry_timings_res = {
|
||||
"destination": "",
|
||||
"retry_last_ts": 0,
|
||||
"retry_interval": 0,
|
||||
}
|
||||
self.datastore.get_destination_retry_timings.return_value = (
|
||||
defer.succeed(DestinationsTable.EntryType("", 0, 0))
|
||||
defer.succeed(retry_timings_res)
|
||||
)
|
||||
|
||||
def get_received_txn_response(*args):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue