Migrate provider_auth test to #[e2e_test] macro

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Bryan Helmkamp 2026-03-31 09:48:17 -04:00
parent a050269a52
commit 08f340fc8f
No known key found for this signature in database

View file

@ -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");