From 08f340fc8fc2a50f9a60289a2239a56f2a885345 Mon Sep 17 00:00:00 2001 From: Bryan Helmkamp Date: Tue, 31 Mar 2026 09:48:17 -0400 Subject: [PATCH] Migrate provider_auth test to #[e2e_test] macro Co-Authored-By: Claude Opus 4.6 (1M context) --- lib/crates/fabro-cli/src/shared/provider_auth.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/crates/fabro-cli/src/shared/provider_auth.rs b/lib/crates/fabro-cli/src/shared/provider_auth.rs index 3d13ceedf..6088371fd 100644 --- a/lib/crates/fabro-cli/src/shared/provider_auth.rs +++ b/lib/crates/fabro-cli/src/shared/provider_auth.rs @@ -260,8 +260,7 @@ mod tests { // -- API key validation -- - #[tokio::test] - #[ignore = "hits live Anthropic API"] + #[fabro_macros::e2e_test(live("ANTHROPIC_API_KEY"))] async fn validate_api_key_rejects_invalid_key() { let result = validate_api_key(Provider::Anthropic, "sk-invalid-key-12345").await; assert!(result.is_err(), "expected invalid key to be rejected");