keep 'origin_server_ts' as 'ts' in the database to avoid needlessly updating schema

This commit is contained in:
Mark Haines 2014-10-17 17:31:48 +01:00
parent f5cf7ac25b
commit 82c5820767
8 changed files with 18 additions and 13 deletions

View file

@ -99,7 +99,7 @@ class FederationTestCase(unittest.TestCase):
origin="red",
context="my-context",
pdu_type="m.topic",
origin_server_ts=123456789000,
ts=123456789000,
depth=1,
is_state=True,
content_json='{"topic":"The topic"}',
@ -134,7 +134,7 @@ class FederationTestCase(unittest.TestCase):
origin="red",
context="my-context",
pdu_type="m.text",
origin_server_ts=123456789001,
ts=123456789001,
depth=1,
content_json='{"text":"Here is the message"}',
)