Tests adjustment to origin_server_ts

This commit is contained in:
Daniel Aloni 2023-04-04 11:55:32 +03:00
parent 129fc42c0b
commit 829c5a7ebd

View file

@ -17,5 +17,5 @@ func TestMarshallMultiRoom(t *testing.T) {
OriginServerTs: 123,
}}})
is.NoErr(err)
is.Equal(m, []byte(`{"@3:example.com":{"location":{"content":{"foo":"bar"},"timestamp":123}}}`))
is.Equal(m, []byte(`{"@3:example.com":{"location":{"content":{"foo":"bar"},"origin_server_ts":123}}}`))
}