mirror of
https://github.com/chatmail/core.git
synced 2026-05-16 21:36:30 +03:00
test: check that receive_status_update has forward compatibility
This ensures old version of Delta Chat will be fine with a new "uid" field.
This commit is contained in:
@@ -1527,7 +1527,7 @@ mod tests {
|
|||||||
t.receive_status_update(
|
t.receive_status_update(
|
||||||
ContactId::SELF,
|
ContactId::SELF,
|
||||||
instance.id,
|
instance.id,
|
||||||
r#"{"updates":[{"payload":{"foo":"bar"}}]}"#,
|
r#"{"updates":[{"payload":{"foo":"bar"}, "someTrash": "definitely TrAsH"}]}"#,
|
||||||
)
|
)
|
||||||
.await?;
|
.await?;
|
||||||
assert_eq!(
|
assert_eq!(
|
||||||
|
|||||||
Reference in New Issue
Block a user