Fix agent assertion bridge lint

This commit is contained in:
adrian
2026-04-14 10:23:23 -07:00
parent 372d2260f3
commit ac7aed1449
2 changed files with 15 additions and 4 deletions
+4 -1
View File
@@ -133,7 +133,10 @@ fn map_api_error_extracts_identity_auth_details_from_headers() {
#[test]
fn core_auth_provider_reports_when_auth_header_will_attach() {
let auth = CoreAuthProvider::from_bearer_token(Some("access-token".to_string()), None);
let auth = CoreAuthProvider::from_bearer_token(
Some("access-token".to_string()),
/*account_id*/ None,
);
assert!(auth.auth_header_attached());
assert_eq!(auth.auth_header_name(), Some("authorization"));