strip session-added comments
This commit is contained in:
@@ -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>,
|
||||
|
||||
Reference in New Issue
Block a user