Added v3 put QTLS endpoint #2407
pr.yml
on: pull_request
Build & test
4m 18s
Validate Terraform
26s
Package application
/
Build & package
3m 19s
DQT integration tests
0s
Deploy dev environment
/
Deploy to AKS
Annotations
12 errors and 1 notice
TeachingRecordSystem.Api.Tests.V3.SwaggerTests ► Get_SwaggerEndpoint_ReturnsOk(minorVersion: "20240307"):
TeachingRecordSystem/src/TeachingRecordSystem.Api/Infrastructure/Middleware/AssignRequestedVersionMiddleware.cs#L20
Failed test found in:
TeachingRecordSystem/tests/TeachingRecordSystem.Api.Tests/TestResults/_fv-az740-616_2024-04-22_14_51_07.trx
Error:
Swashbuckle.AspNetCore.SwaggerGen.SwaggerGeneratorException : Failed to generate Operation for action - TeachingRecordSystem.Api.V3.V20240307.Controllers.PersonsController.Put (TeachingRecordSystem.Api). See inner exception
---- System.NotSupportedException : Cannot derive security scheme for operation.
|
TeachingRecordSystem.Api.Tests.V3.SwaggerTests ► Get_SwaggerEndpoint_ReturnsOk(minorVersion: "20240412"):
TeachingRecordSystem/src/TeachingRecordSystem.Api/Infrastructure/Middleware/AssignRequestedVersionMiddleware.cs#L20
Failed test found in:
TeachingRecordSystem/tests/TeachingRecordSystem.Api.Tests/TestResults/_fv-az740-616_2024-04-22_14_51_07.trx
Error:
Swashbuckle.AspNetCore.SwaggerGen.SwaggerGeneratorException : Failed to generate Operation for action - TeachingRecordSystem.Api.V3.V20240307.Controllers.PersonsController.Put (TeachingRecordSystem.Api). See inner exception
---- System.NotSupportedException : Cannot derive security scheme for operation.
|
TeachingRecordSystem.Api.Tests.V3.SwaggerTests ► Get_SwaggerEndpoint_ReturnsOk(minorVersion: "20240416"):
TeachingRecordSystem/src/TeachingRecordSystem.Api/Infrastructure/Middleware/AssignRequestedVersionMiddleware.cs#L20
Failed test found in:
TeachingRecordSystem/tests/TeachingRecordSystem.Api.Tests/TestResults/_fv-az740-616_2024-04-22_14_51_07.trx
Error:
Swashbuckle.AspNetCore.SwaggerGen.SwaggerGeneratorException : Failed to generate Operation for action - TeachingRecordSystem.Api.V3.V20240307.Controllers.PersonsController.Put (TeachingRecordSystem.Api). See inner exception
---- System.NotSupportedException : Cannot derive security scheme for operation.
|
TeachingRecordSystem.Api.Tests.V3.SwaggerTests ► Get_SwaggerEndpoint_ReturnsOk(minorVersion: "Next"):
TeachingRecordSystem/src/TeachingRecordSystem.Api/Infrastructure/Middleware/AssignRequestedVersionMiddleware.cs#L20
Failed test found in:
TeachingRecordSystem/tests/TeachingRecordSystem.Api.Tests/TestResults/_fv-az740-616_2024-04-22_14_51_07.trx
Error:
Swashbuckle.AspNetCore.SwaggerGen.SwaggerGeneratorException : Failed to generate Operation for action - TeachingRecordSystem.Api.V3.V20240307.Controllers.PersonsController.Put (TeachingRecordSystem.Api). See inner exception
---- System.NotSupportedException : Cannot derive security scheme for operation.
|
TeachingRecordSystem.Api.Tests.V3.V20240307.SetQTLSDateRequestTests ► Put_ClearExistingQTLSDate_ReturnsExpectedResult:
TeachingRecordSystem/tests/TeachingRecordSystem.TestCommon/AssertEx.Http.cs#L14
Failed test found in:
TeachingRecordSystem/tests/TeachingRecordSystem.Api.Tests/TestResults/_fv-az740-616_2024-04-22_14_51_07.trx
Error:
Assert.Equal() Failure: Values differ
Expected: 200
Actual: 404
|
TeachingRecordSystem.Api.Tests.V3.V20240307.SetQTLSDateRequestTests ► Put_QTLSDate_SetsInductionWhenExistingInductionStatusEmpty(existingQtls: "01/01/2021", incomingQtls: null, expectetInductionStatus: null, expectedHttpStatus: OK):
TeachingRecordSystem/tests/TeachingRecordSystem.Api.Tests/V3/V20240307/SetQTLSDateRequestTests.cs#L580
Failed test found in:
TeachingRecordSystem/tests/TeachingRecordSystem.Api.Tests/TestResults/_fv-az740-616_2024-04-22_14_51_07.trx
Error:
Assert.Null() Failure: Value is not null
Expected: null
Actual: Task { Account_Tasks = null, ActivityId = ee754cad-4d60-4816-981d-60a16565f662, Attributes = [···], business_unit_task_activities = null, Category = "Unable to set QTLSDate", ··· }
|
TeachingRecordSystem.Api.Tests.V3.V20240307.SetQTLSDateRequestTests ► Put_QTLSDate_SetsInductionWhenExistingInductionStatusEmpty(existingQtls: null, incomingQtls: "01/01/2021", expectetInductionStatus: Exempt, expectedHttpStatus: OK):
TeachingRecordSystem/tests/TeachingRecordSystem.Api.Tests/V3/V20240307/SetQTLSDateRequestTests.cs#L580
Failed test found in:
TeachingRecordSystem/tests/TeachingRecordSystem.Api.Tests/TestResults/_fv-az740-616_2024-04-22_14_51_07.trx
Error:
Assert.Null() Failure: Value is not null
Expected: null
Actual: Task { Account_Tasks = null, ActivityId = ee754cad-4d60-4816-981d-60a16565f662, Attributes = [···], business_unit_task_activities = null, Category = "Unable to set QTLSDate", ··· }
|
TeachingRecordSystem.Api.Tests.V3.V20240307.SetQTLSDateRequestTests ► Put_RejectQTLSUpdate_ReturnsAcceptedAndCreatesTask(existingQtls: null, incomingQtls: "01/01/1998", inductionStatus: FailedinWales, reason: null, qts: null, expextedQTS: null):
TeachingRecordSystem/tests/TeachingRecordSystem.Api.Tests/V3/V20240307/SetQTLSDateRequestTests.cs#L487
Failed test found in:
TeachingRecordSystem/tests/TeachingRecordSystem.Api.Tests/TestResults/_fv-az740-616_2024-04-22_14_51_07.trx
Error:
Assert.Equal() Failure: Values differ
Expected: null
Actual: 09/01/2022
|
TeachingRecordSystem.Api.Tests.V3.V20240307.SetQTLSDateRequestTests ► Put_RejectQTLSUpdate_ReturnsAcceptedAndCreatesTask(existingQtls: null, incomingQtls: "01/01/2021", inductionStatus: Fail, reason: null, qts: null, expextedQTS: null):
TeachingRecordSystem/tests/TeachingRecordSystem.Api.Tests/V3/V20240307/SetQTLSDateRequestTests.cs#L487
Failed test found in:
TeachingRecordSystem/tests/TeachingRecordSystem.Api.Tests/TestResults/_fv-az740-616_2024-04-22_14_51_07.trx
Error:
Assert.Equal() Failure: Values differ
Expected: null
Actual: 09/01/2022
|
TeachingRecordSystem.Api.Tests.V3.V20240307.SetQTLSDateRequestTests ► Put_ValidQTLSDate_SetsInductionStatus(existingInductionStatus: InductionExtended, existingInductionExemptionReason: null, incomingQtls: "01/01/2021", expectetInductionStatus: Exempt,...:
TeachingRecordSystem/tests/TeachingRecordSystem.Api.Tests/V3/V20240307/SetQTLSDateRequestTests.cs#L539
Failed test found in:
TeachingRecordSystem/tests/TeachingRecordSystem.Api.Tests/TestResults/_fv-az740-616_2024-04-22_14_51_07.trx
Error:
Assert.Equal() Failure: Values differ
Expected: OK
Actual: Accepted
|
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
|