diff --git a/crates/matrix-sdk/tests/integration/room/joined.rs b/crates/matrix-sdk/tests/integration/room/joined.rs index 9aa54a56f45..71cb1d3b73b 100644 --- a/crates/matrix-sdk/tests/integration/room/joined.rs +++ b/crates/matrix-sdk/tests/integration/room/joined.rs @@ -781,7 +781,7 @@ async fn test_start_live_location_share_for_room() { Mock::given(method("PUT")) .and(path_regex(r"^/_matrix/client/r0/rooms/.*/state/org.matrix.msc3672.beacon_info/.*")) .and(header("authorization", "Bearer 1234")) - .and(body_partial_json(&json!({ + .and(body_partial_json(json!({ "description": "Live Share", "live": true, "timeout": 3000, @@ -880,7 +880,7 @@ async fn test_stop_sharing_live_location() { Mock::given(method("PUT")) .and(path_regex(r"^/_matrix/client/r0/rooms/.*/state/org.matrix.msc3672.beacon_info/.*")) .and(header("authorization", "Bearer 1234")) - .and(body_partial_json(&json!({ + .and(body_partial_json(json!({ "description": "Live Share", "live": false, "timeout": 3000,