Skip to content

Commit

Permalink
chore: fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
torrybr committed Aug 1, 2024
1 parent c37226d commit d3025b3
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 30 deletions.
32 changes: 8 additions & 24 deletions crates/matrix-sdk/tests/integration/room/beacon_info/mod.rs
Original file line number Diff line number Diff line change
@@ -1,33 +1,17 @@
use std::{
sync::{Arc, Mutex},
time::Duration,
};
use std::time::Duration;

use js_int::uint;
use matrix_sdk::{
config::SyncSettings,
room::{edit::EditedContent, Receipts, ReportedContentScore, RoomMemberRole},
test_utils::events::EventFactory,
};
use matrix_sdk_base::{deserialized_responses::AnySyncOrStrippedState, RoomState};
use matrix_sdk_test::{
async_test, test_json, test_json::sync::CUSTOM_ROOM_POWER_LEVELS, EphemeralTestEvent,
GlobalAccountDataTestEvent, JoinedRoomBuilder, SyncResponseBuilder, DEFAULT_TEST_ROOM_ID,
};
use matrix_sdk::config::SyncSettings;
use matrix_sdk_base::deserialized_responses::AnySyncOrStrippedState;
use matrix_sdk_test::{async_test, test_json, DEFAULT_TEST_ROOM_ID};
use ruma::{
api::client::{membership::Invite3pidInit, receipt::create_receipt::v3::ReceiptType},
assign, event_id,
events::{
location::AssetType,
receipt::ReceiptThread,
room::message::{RoomMessageEventContent, RoomMessageEventContentWithoutRelation},
AnySyncStateEvent, StateEventType, TimelineEventType,
},
int, room_id, user_id, MilliSecondsSinceUnixEpoch,
event_id,
events::{location::AssetType, AnySyncStateEvent, StateEventType},
MilliSecondsSinceUnixEpoch,
};
use serde_json::json;
use wiremock::{
matchers::{body_json, body_partial_json, header, method, path_regex},
matchers::{body_partial_json, header, method, path_regex},
Mock, ResponseTemplate,
};

Expand Down
9 changes: 3 additions & 6 deletions crates/matrix-sdk/tests/integration/room/joined.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,12 @@ use std::{
};

use futures_util::future::join_all;
use js_int::uint;
use matrix_sdk::{
config::SyncSettings,
room::{edit::EditedContent, Receipts, ReportedContentScore, RoomMemberRole},
test_utils::events::EventFactory,
};
use matrix_sdk_base::{deserialized_responses::AnySyncOrStrippedState, RoomState};
use matrix_sdk_base::RoomState;
use matrix_sdk_test::{
async_test, test_json, test_json::sync::CUSTOM_ROOM_POWER_LEVELS, EphemeralTestEvent,
GlobalAccountDataTestEvent, JoinedRoomBuilder, SyncResponseBuilder, DEFAULT_TEST_ROOM_ID,
Expand All @@ -19,13 +18,11 @@ use ruma::{
api::client::{membership::Invite3pidInit, receipt::create_receipt::v3::ReceiptType},
assign, event_id,
events::{
location::AssetType,
receipt::ReceiptThread,
room::message::{RoomMessageEventContent, RoomMessageEventContentWithoutRelation},
AnySyncStateEvent, StateEventType, TimelineEventType,
TimelineEventType,
},
int, mxc_uri, owned_event_id, room_id, thirdparty, user_id, MilliSecondsSinceUnixEpoch,
OwnedUserId, TransactionId,
int, mxc_uri, owned_event_id, room_id, thirdparty, user_id, OwnedUserId, TransactionId,
};
use serde_json::{json, Value};
use wiremock::{
Expand Down

0 comments on commit d3025b3

Please sign in to comment.