mirror of
https://github.com/matrix-org/matrix-rust-sdk.git
synced 2026-05-24 16:48:52 -04:00
misc: clippy fixes
This commit is contained in:
@@ -31,7 +31,7 @@ async fn test_subscribe_to_decline_call_events() {
|
||||
ruma::events::call::notify::NotifyType::Ring,
|
||||
ruma::events::Mentions::new(),
|
||||
)
|
||||
.sender(&user_id!("@alice:matrix.org"))
|
||||
.sender(user_id!("@alice:matrix.org"))
|
||||
.event_id(¬ification_event_id),
|
||||
),
|
||||
)
|
||||
@@ -67,15 +67,15 @@ async fn test_subscribe_to_decline_call_events() {
|
||||
.add_timeline_event(
|
||||
// declines another call
|
||||
f.call_decline(&other_notification_event_id)
|
||||
.sender(&user_id!("@valere:matrix.org")),
|
||||
.sender(user_id!("@valere:matrix.org")),
|
||||
)
|
||||
.add_timeline_event(
|
||||
// declines another call
|
||||
f.call_decline(¬ification_event_id).sender(&user_id!("@bob:matrix.org")),
|
||||
f.call_decline(¬ification_event_id).sender(user_id!("@bob:matrix.org")),
|
||||
)
|
||||
.add_timeline_event(
|
||||
// declines another call
|
||||
f.call_decline(¬ification_event_id).sender(&user_id!("@carl:example.com")),
|
||||
f.call_decline(¬ification_event_id).sender(user_id!("@carl:example.com")),
|
||||
),
|
||||
)
|
||||
.await;
|
||||
|
||||
Reference in New Issue
Block a user