From 5e3db440438e963c158065205a5b23383cca304a Mon Sep 17 00:00:00 2001 From: Gabriel Kaszewski Date: Thu, 28 May 2026 02:34:30 +0200 Subject: [PATCH] fix(tests): update federation_management tests for EventPublisher arg --- .../application/src/use_cases/federation_management/tests.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/application/src/use_cases/federation_management/tests.rs b/crates/application/src/use_cases/federation_management/tests.rs index 63fd366..664f3e1 100644 --- a/crates/application/src/use_cases/federation_management/tests.rs +++ b/crates/application/src/use_cases/federation_management/tests.rs @@ -13,7 +13,7 @@ async fn list_pending_returns_empty_by_default() { async fn accept_follow_request_returns_ok() { let store = TestStore::default(); let uid = UserId::new(); - accept_follow_request(&store, &uid, "https://mastodon.social/users/alice") + accept_follow_request(&store, &store, &uid, "https://mastodon.social/users/alice") .await .unwrap(); } @@ -22,7 +22,7 @@ async fn accept_follow_request_returns_ok() { async fn reject_follow_request_returns_ok() { let store = TestStore::default(); let uid = UserId::new(); - reject_follow_request(&store, &uid, "https://mastodon.social/users/alice") + reject_follow_request(&store, &store, &uid, "https://mastodon.social/users/alice") .await .unwrap(); }