Skip to content

Commit

Permalink
test: check that receive_status_update has forward compatibility
Browse files Browse the repository at this point in the history
This ensures old version of Delta Chat will be fine with a new "uid" field.
  • Loading branch information
link2xt committed Nov 27, 2023
1 parent 3b5634f commit b779d08
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/webxdc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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!(
Expand Down

0 comments on commit b779d08

Please sign in to comment.