mirror of
https://github.com/fabro-sh/fabro.git
synced 2026-09-09 22:33:37 +00:00
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:
parent
a050269a52
commit
08f340fc8f
1 changed files with 1 additions and 2 deletions
|
|
@ -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");
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue