strip session-added comments
Some checks failed
CI / Check / Test (push) Has been cancelled
CI / Check / Test (pull_request) Has been cancelled

This commit is contained in:
2026-10-26 10:32:38 +01:00
parent a270632e87
commit f020108024
138 changed files with 0 additions and 719 deletions

View File

@@ -1,5 +1,3 @@
//! `AppState` fixtures: `Panic*` stubs everywhere, real prebuilt `deps` built through
//! `bootstrap::build_deps`, with per-port overrides injected BEFORE the deps are built.
#![allow(dead_code)]
use application::config::AppSettings;
@@ -25,8 +23,6 @@ use domain::{
use http_axum::context::AppContext;
use std::sync::Arc;
// --- Local stubs ---
struct PanicReviewLogger;
#[async_trait::async_trait]
@@ -168,9 +164,6 @@ pub fn test_app_state_with_search_port(
build_test_state_from(repos, Arc::new(PanicAuthService))
}
/// Test state whose repositories are adjusted by `adjust` BEFORE `build_deps`
/// runs, for tests that need more than one stub swapped in (e.g. a follow graph
/// plus the live user that authenticated routes now look up).
pub fn test_app_state_with_repos(
adjust: impl FnOnce(&mut Repositories),
auth_service: Arc<dyn AuthService>,