()
| 926 | |
| 927 | #[tokio::test] |
| 928 | async fn missing_bearer_yields_none() { |
| 929 | let fake = Arc::new(FakeResolver::returning(Ok(None))); |
| 930 | let auth = K8sServiceAccountAuthenticator::new(fake); |
| 931 | let result = auth |
| 932 | .authenticate(&http::HeaderMap::new(), ISSUE_SANDBOX_TOKEN_PATH) |
| 933 | .await |
| 934 | .unwrap(); |
| 935 | assert!(result.is_none()); |
| 936 | } |
| 937 | |
| 938 | #[tokio::test] |
| 939 | async fn resolver_returning_none_falls_through() { |
nothing calls this directly
no test coverage detected