From b779d08d7f7d02d7b9570e4b0cf87ccc2e255517 Mon Sep 17 00:00:00 2001 From: link2xt Date: Mon, 27 Nov 2023 13:12:21 +0000 Subject: [PATCH] test: check that receive_status_update has forward compatibility This ensures old version of Delta Chat will be fine with a new "uid" field. --- src/webxdc.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/webxdc.rs b/src/webxdc.rs index 06c518926..f9b35d83a 100644 --- a/src/webxdc.rs +++ b/src/webxdc.rs @@ -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!(