Skip to content

Prevent TrnMatchPolicy and TrnRequirementType from being overriden #3105

Prevent TrnMatchPolicy and TrnRequirementType from being overriden

Prevent TrnMatchPolicy and TrnRequirementType from being overriden #3105

Triggered via pull request October 17, 2023 12:32
Status Failure
Total duration 4m 16s
Artifacts

build.yml

on: pull_request
Validate Terraform
23s
Validate Terraform
Deploy to preprod environment
0s
Deploy to preprod environment
Deploy to dev environment
0s
Deploy to dev environment
Deploy to production environment
0s
Deploy to production environment
Fit to window
Zoom out
Zoom in

Annotations

6 errors and 1 notice
TeacherIdentity.AuthServer.Tests.EndpointTests.Oidc.AuthorizeTests ► TrnMatchPolicySpecified_OverridesClientsTrnMatchPolicyOnAuthenticationState: dotnet-authserver/tests/TeacherIdentity.AuthServer.Tests/EndpointTests/Oidc/AuthorizeTests.cs#L262
Failed test found in: dotnet-authserver/tests/TeacherIdentity.AuthServer.Tests/TestResults/_fv-az189-742_2023-10-17_12_36_36.trx Error: Assert.Equal() Failure Expected: Strict Actual: Default
TeacherIdentity.AuthServer.Tests.EndpointTests.Oidc.AuthorizeTests ► TrnMatchPolicySpecifiedButInvalid_ReturnsError: dotnet-authserver/tests/TeacherIdentity.AuthServer.Tests/EndpointTests/Oidc/AuthorizeTests.cs#L469
Failed test found in: dotnet-authserver/tests/TeacherIdentity.AuthServer.Tests/TestResults/_fv-az189-742_2023-10-17_12_36_36.trx Error: Assert.StartsWith() Failure: Expected: https://localhost:1234/oidc/callback Actual: /sign-in/landing?asid=0e096ea4-247e-...
TeacherIdentity.AuthServer.Tests.EndpointTests.Oidc.AuthorizeTests ► TrnRequirementTypeSpecified_OverridesClientsTrnRequirementTypeOnAuthenticationState: dotnet-authserver/tests/TeacherIdentity.AuthServer.Tests/EndpointTests/Oidc/AuthorizeTests.cs#L216
Failed test found in: dotnet-authserver/tests/TeacherIdentity.AuthServer.Tests/TestResults/_fv-az189-742_2023-10-17_12_36_36.trx Error: Assert.Equal() Failure Expected: Required Actual: Optional
TeacherIdentity.AuthServer.Tests.EndpointTests.Oidc.AuthorizeTests ► TrnRequirementTypeSpecifiedButInvalid_ReturnsError: dotnet-authserver/tests/TeacherIdentity.AuthServer.Tests/EndpointTests/Oidc/AuthorizeTests.cs#L469
Failed test found in: dotnet-authserver/tests/TeacherIdentity.AuthServer.Tests/TestResults/_fv-az189-742_2023-10-17_12_36_36.trx Error: Assert.StartsWith() Failure: Expected: https://localhost:1234/oidc/callback Actual: /sign-in/landing?asid=e6c26c48-c45d-...
Build & test
Process completed with exit code 1.
Build & test
Failed test were found and 'fail-on-error' option is set to true
Build & test
Linting changed files only