chore: wire WrapUpStatsQuery panic stub into binaries
Some checks failed
CI / Check / Test (push) Failing after 44s

This commit is contained in:
2026-06-02 21:49:54 +02:00
parent 8fec989dc6
commit 4c75113c4f
5 changed files with 19 additions and 2 deletions

View File

@@ -13,7 +13,7 @@ sqlite-federation = ["sqlite", "dep:sqlite-federation", "dep:activitypub", "fede
postgres-federation = ["postgres", "dep:postgres-federation", "dep:activitypub", "federation"]
[dependencies]
domain = { workspace = true }
domain = { workspace = true, features = ["test-helpers"] }
application = { workspace = true }
tokio = { workspace = true }
anyhow = { workspace = true }

View File

@@ -92,6 +92,7 @@ async fn main() -> anyhow::Result<()> {
social_query: fed_social_query,
#[cfg(not(feature = "federation"))]
social_query: Arc::new(domain::testing::NoopSocialQueryPort),
wrapup_stats: Arc::new(domain::testing::PanicWrapUpStatsQuery) as Arc<dyn domain::ports::WrapUpStatsQuery>,
},
services: Services {
auth: auth_service,