()
| 1001 | } |
| 1002 | |
| 1003 | fn test_user_principal() -> Principal { |
| 1004 | Principal::User(UserPrincipal { |
| 1005 | identity: Identity { |
| 1006 | subject: "user-a".to_string(), |
| 1007 | display_name: None, |
| 1008 | roles: vec!["openshell-user".to_string()], |
| 1009 | scopes: vec![], |
| 1010 | provider: IdentityProvider::Oidc, |
| 1011 | }, |
| 1012 | }) |
| 1013 | } |
| 1014 | |
| 1015 | fn test_sandbox_principal() -> Principal { |
| 1016 | Principal::Sandbox(SandboxPrincipal { |
no outgoing calls
no test coverage detected