()
| 494 | |
| 495 | #[test] |
| 496 | fn extract_scopes_missing_claim() { |
| 497 | let json = serde_json::json!({ "sub": "user1" }); |
| 498 | let claims: OidcClaims = serde_json::from_value(json).unwrap(); |
| 499 | let scopes = claims.extract_scopes("scope"); |
| 500 | assert!(scopes.is_empty()); |
| 501 | } |
| 502 | |
| 503 | #[test] |
| 504 | fn extract_scopes_openid_only_yields_empty() { |
nothing calls this directly
no test coverage detected