Skip to content

Remove lint step from PR workflow (#58) #387

Remove lint step from PR workflow (#58)

Remove lint step from PR workflow (#58) #387

GitHub Actions / Test results succeeded Apr 18, 2024 in 0s

23 passed, 0 failed and 0 skipped

Tests passed successfully

✅ TrnGeneratorApi/tests/TrnGeneratorApi.IntegrationTests/TestResults/_fv-az1200-164_2024-04-18_13_44_51.trx

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

Test suite Passed Failed Skipped Time
TrnGeneratorApi.IntegrationTests.Api.V1.DeleteTrnRangeTests 6✅ 659ms
TrnGeneratorApi.IntegrationTests.Api.V1.GetAllTrnRangesTests 4✅ 449ms
TrnGeneratorApi.IntegrationTests.Api.V1.GetTrnRangeTests 4✅ 329ms
TrnGeneratorApi.IntegrationTests.Api.V1.PostTrnRangeTests 5✅ 3s
TrnGeneratorApi.IntegrationTests.Api.V1.PostTrnRequestTests 4✅ 439ms

✅ TrnGeneratorApi.IntegrationTests.Api.V1.DeleteTrnRangeTests

✅ Delete_WithInvalidApiKey_Returns401Unauthorised
✅ Delete_WithoutApiKey_Returns401Unauthorised
✅ Delete_WithValidApiKeyAndFromTrnMatchingAlreadyExhaustedRange_Returns400BadRequest
✅ Delete_WithValidApiKeyAndFromTrnMatchingExistingRange_DeletesTrnRangeAndReturns200OKAndMatchingTrnRange
✅ Delete_WithValidApiKeyAndFromTrnMatchingPartiallyUsedRange_Returns400BadRequest
✅ Delete_WithValidApiKeyButFromTrnNotMatchingExistingRange_Returns404NotFound

✅ TrnGeneratorApi.IntegrationTests.Api.V1.GetAllTrnRangesTests

✅ Get_WithInvalidApiKey_Returns401Unauthorised
✅ Get_WithoutApiKey_Returns401Unauthorised
✅ Get_WithValidApiKey_Returns200OKAndAllTrnRanges
✅ Get_WithValidApiKeyButNoTrnRangesInDatabase_Returns200OKAndEmptyArray

✅ TrnGeneratorApi.IntegrationTests.Api.V1.GetTrnRangeTests

✅ Get_WithInvalidApiKey_Returns401Unauthorised
✅ Get_WithoutApiKey_Returns401Unauthorised
✅ Get_WithValidApiKeyAndFromTrnMatchingExistingRange_Returns200OKAndMatchingTrnRange
✅ Get_WithValidApiKeyButFromTrnNotMatchingExistingRange_Returns404NotFound

✅ TrnGeneratorApi.IntegrationTests.Api.V1.PostTrnRangeTests

✅ Post_WithInvalidApiKey_Returns401Unauthorised
✅ Post_WithoutApiKey_Returns401Unauthorised
✅ Post_WithValidApiKey_InsertsNewTrnRangeAndReturns201CreatedAndNewTrnRange
✅ Post_WithValidApiKeyButFromTrnGreaterThanToTrn_Returns400BadRequest
✅ Post_WithValidApiKeyButOverlappingRange_Returns400BadRequest

✅ TrnGeneratorApi.IntegrationTests.Api.V1.PostTrnRequestTests

✅ Post_WithInvalidApiKey_Returns401Unauthorised
✅ Post_WithoutApiKey_Returns401Unauthorised
✅ Post_WithValidApiKey_Returns200OKAndNextAvailableTrn
✅ Post_WithValidApiKeyButNoAvailableTrn_Returns404NotFound