mirror of
https://github.com/chatmail/core.git
synced 2026-04-02 05:22:14 +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(
|
||||
ContactId::SELF,
|
||||
instance.id,
|
||||
r#"{"updates":[{"payload":{"foo":"bar"}}]}"#,
|
||||
r#"{"updates":[{"payload":{"foo":"bar"}, "someTrash": "definitely TrAsH"}]}"#,
|
||||
)
|
||||
.await?;
|
||||
assert_eq!(
|
||||
|
||||
Reference in New Issue
Block a user