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:
link2xt
2023-11-27 13:12:21 +00:00
parent 3b5634f14b
commit b779d08d7f

View File

@@ -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!(