Skip to content

Commit

Permalink
fix: clippy suggestions
Browse files Browse the repository at this point in the history
  • Loading branch information
torrybr committed Jul 25, 2024
1 parent b047bb7 commit aba5797
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/matrix-sdk/tests/integration/room/joined.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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,
Expand Down

0 comments on commit aba5797

Please sign in to comment.