diff --git a/lib/crates/fabro-cli/src/main.rs b/lib/crates/fabro-cli/src/main.rs index e1b878f0d..8cc1e5e37 100644 --- a/lib/crates/fabro-cli/src/main.rs +++ b/lib/crates/fabro-cli/src/main.rs @@ -493,6 +493,10 @@ fn server_config_log_level(settings: &SettingsLayer) -> Option { } #[cfg(test)] +#[expect( + clippy::disallowed_methods, + reason = "main.rs tests stage CLI settings fixtures with sync std::fs::write" +)] mod tests { use args::{ Commands, InstallGitHubStrategyArg, ModelsCommand, ProviderCommand, ProviderNamespace, diff --git a/lib/crates/fabro-server/tests/it/api/install.rs b/lib/crates/fabro-server/tests/it/api/install.rs index 1b3c731ea..36e6ed7b5 100644 --- a/lib/crates/fabro-server/tests/it/api/install.rs +++ b/lib/crates/fabro-server/tests/it/api/install.rs @@ -416,7 +416,8 @@ async fn app_install_finish_omits_dev_token_and_does_not_write_it() { InstallAppState::for_test_with_paths("test-install-token", temp_dir.path(), &config_path) .with_home(home.clone()) .with_github_api_base_url(github_mock.url("")), - ); + ) + .await; let llm_response = app .clone()