Skip to content

Added v3 put QTLS endpoint #2407

Added v3 put QTLS endpoint

Added v3 put QTLS endpoint #2407

Triggered via pull request April 22, 2024 14:46
@MrKevJoyMrKevJoy
synchronize #1186
qtls-put-v3
Status Failure
Total duration 5m 41s
Artifacts

pr.yml

on: pull_request
Validate Terraform
26s
Validate Terraform
Package application  /  Build & package
3m 19s
Package application / Build & package
DQT integration tests
0s
DQT integration tests
Deploy dev environment  /  Deploy to AKS
Deploy dev environment / Deploy to AKS
Fit to window
Zoom out
Zoom in

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/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
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