Skip to content

Better handle hanging tests. #111

Better handle hanging tests.

Better handle hanging tests. #111

GitHub Actions / Test Report - IdentityModel.OidcClient.Tests succeeded Nov 10, 2024 in 1s

66 passed, 0 failed and 0 skipped

Tests passed successfully

✅ identity-model-oidc-client/test/IdentityModel.OidcClient.Tests/TestResults/Tests.trx

66 tests were completed in 13s with 66 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
Duende.IdentityModel.OidcClient.AuthorizeRequestTests 3✅ 16ms
Duende.IdentityModel.OidcClient.CodeFlowResponseTestsWithNoValidation 15✅ 415ms
Duende.IdentityModel.OidcClient.CommonResponseTests 3✅ 2ms
Duende.IdentityModel.OidcClient.ConfigurationTests 10✅ 196ms
Duende.IdentityModel.OidcClient.CryptoHelperTests 3✅ 1ms
Duende.IdentityModel.OidcClient.DPoP.DPoPTest 4✅ 8s
Duende.IdentityModel.OidcClient.EndSessionUrlTests 4✅ 1ms
Duende.IdentityModel.OidcClient.IdentityTokenValidator.CodeFlowResponseTestsWithJwtValidation 20✅ 4s
Duende.IdentityModel.OidcClient.LogSerializerTests 1✅ 19ms
Duende.IdentityModel.OidcClient.OidcClientTests 1✅ 4ms
Duende.IdentityModel.OidcClient.RefreshTokenDelegatingHandlerTests 2✅ 2s

✅ Duende.IdentityModel.OidcClient.AuthorizeRequestTests

✅ Browser_error_is_surfaced_in_authorize_response
✅ Default_parameters_should_be_used_for_authorize_request
✅ Missing_default_parameters_can_be_set_by_extra_parameters

✅ Duende.IdentityModel.OidcClient.CodeFlowResponseTestsWithNoValidation

✅ Authorize_should_push_parameters_when_PAR_is_enabled
✅ Error_redeeming_code_should_fail
✅ Extra_parameters_on_backchannel_should_be_sent
✅ Malformed_identity_token_on_token_response_should_fail
✅ Missing_access_token_on_token_response_should_fail
✅ Multi_tenant_token_issuer_name_should_succeed_by_policy_option
✅ No_identity_token_on_token_response_and_no_profile_loading_should_succeed
✅ No_identity_token_on_token_response_with_profile_loading_should_succeed
✅ No_identity_token_validator_should_fail
✅ Par_request_should_include_client_assertion_in_body
✅ Sending_authorization_header_should_succeed
✅ Sending_client_credentials_in_body_should_succeed
✅ Valid_response_with_id_token_should_succeed
✅ Valid_response_with_profile_should_succeed
✅ Valid_response_without_id_token_should_succeed

✅ Duende.IdentityModel.OidcClient.CommonResponseTests

✅ Invalid_state_should_be_rejected
✅ Missing_code_should_be_rejected
✅ Missing_state_should_be_rejected

✅ Duende.IdentityModel.OidcClient.ConfigurationTests

✅ Error401_while_loading_discovery_document_should_throw
✅ Exception_while_loading_discovery_document_should_throw
✅ GetClientAssertionAsync_should_return_statically_configured_client_assertion_by_default
✅ Missing_authorize_endpoint_should_throw
✅ Missing_issuer_should_throw
✅ Missing_keyset_should_throw
✅ Missing_token_endpoint_should_throw
✅ No_authority_and_no_static_config_should_throw_exception
✅ Null_options_should_throw_exception
✅ Providing_required_provider_information_should_not_throw

✅ Duende.IdentityModel.OidcClient.CryptoHelperTests

✅ ComputeHash_should_compute_correct_hashes_for_all_signature_algorithms(data: "asdf", algorithmName: "RS256")
✅ ComputeHash_should_compute_correct_hashes_for_all_signature_algorithms(data: "asdf", algorithmName: "RS384")
✅ ComputeHash_should_compute_correct_hashes_for_all_signature_algorithms(data: "asdf", algorithmName: "RS512")

✅ Duende.IdentityModel.OidcClient.DPoP.DPoPTest

✅ dpop_tokens_should_be_passed_to_api
✅ dpop_tokens_should_be_passed_to_token_endpoint
✅ when_nonce_required_nonce_should_be_used_for_api_endpoint
✅ when_nonce_required_nonce_should_be_used_for_token_endpoint

✅ Duende.IdentityModel.OidcClient.EndSessionUrlTests

✅ Default_parameters_should_create_expected_end_session_url
✅ Id_token_hint_should_create_expected_end_session_url
✅ Post_logout_redirect_parameter_and_id_token_hint_should_create_expected_end_session_url
✅ Post_logout_redirect_parameter_should_create_expected_end_session_url

✅ Duende.IdentityModel.OidcClient.IdentityTokenValidator.CodeFlowResponseTestsWithJwtValidation

✅ At_hash_policy_should_be_enforced(atHashRequired: False)
✅ At_hash_policy_should_be_enforced(atHashRequired: True)
✅ Error_redeeming_code_should_fail
✅ Extra_parameters_on_backchannel_should_be_sent
✅ Invalid_at_hash_should_fail(atHashRequired: False)
✅ Invalid_at_hash_should_fail(atHashRequired: True)
✅ Invalid_signing_algorithm_should_fail
✅ Malformed_identity_token_on_token_response_should_fail
✅ Missing_access_token_on_token_response_should_fail
✅ Multi_tenant_token_issuer_name_should_succeed_by_policy_option
✅ No_identity_token_on_token_response_and_no_profile_loading_should_succeed
✅ No_identity_token_on_token_response_with_profile_loading_should_succeed
✅ No_keyset_for_identity_token_should_fail
✅ Sending_authorization_header_should_succeed
✅ Sending_client_credentials_in_body_should_succeed
✅ Untrusted_identity_token_should_fail
✅ Valid_response_should_succeed
✅ Valid_response_with_missing_signature_should_fail
✅ Valid_response_with_missing_signature_should_succeed
✅ Valid_response_with_profile_should_succeed

✅ Duende.IdentityModel.OidcClient.LogSerializerTests

✅ LogSerializer_should_serialize_arbitrary_types

✅ Duende.IdentityModel.OidcClient.OidcClientTests

✅ RefreshTokenAsync_with_scope_should_set_http_request_scope_parameter

✅ Duende.IdentityModel.OidcClient.RefreshTokenDelegatingHandlerTests

✅ Can_refresh_access_tokens_in_parallel
✅ Can_refresh_access_tokens_with_sliding_refresh_tokens