From 7eb85d5ec94fb50deb3b9ea25abf5a97aa0ec8d4 Mon Sep 17 00:00:00 2001 From: Bryan Helmkamp Date: Wed, 1 Apr 2026 11:38:29 -0400 Subject: [PATCH] Fix missing create_app_state import in mTLS e2e tests The mtls_e2e module is gated with #[cfg(target_os = "linux")], so the wrong import (create_app_state_with_options instead of create_app_state) was never caught on macOS. Fixes CI compilation failure on Linux. Co-Authored-By: Claude Opus 4.6 (1M context) --- lib/crates/fabro-server/tests/it/api.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/crates/fabro-server/tests/it/api.rs b/lib/crates/fabro-server/tests/it/api.rs index faac095e6..f820731d7 100644 --- a/lib/crates/fabro-server/tests/it/api.rs +++ b/lib/crates/fabro-server/tests/it/api.rs @@ -17,7 +17,7 @@ mod mtls_e2e { use std::sync::Arc; use fabro_server::jwt_auth::{AuthMode, AuthStrategy}; - use fabro_server::server::{build_router, create_app_state_with_options}; + use fabro_server::server::{build_router, create_app_state}; use fabro_server::server_config::TlsSettings; use fabro_server::tls::{ClientAuth, build_rustls_config}; use tokio::net::TcpListener;