Skip to content

Update statuscake contact group #388

Update statuscake contact group

Update statuscake contact group #388

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

23 passed, 0 failed and 0 skipped

Tests passed successfully

✅ TrnGeneratorApi/tests/TrnGeneratorApi.IntegrationTests/TestResults/_fv-az1149-844_2024-04-19_08_28_46.trx

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

Test suite Passed Failed Skipped Time
TrnGeneratorApi.IntegrationTests.Api.V1.DeleteTrnRangeTests 6✅ 667ms
TrnGeneratorApi.IntegrationTests.Api.V1.GetAllTrnRangesTests 4✅ 454ms
TrnGeneratorApi.IntegrationTests.Api.V1.GetTrnRangeTests 4✅ 3s
TrnGeneratorApi.IntegrationTests.Api.V1.PostTrnRangeTests 5✅ 539ms
TrnGeneratorApi.IntegrationTests.Api.V1.PostTrnRequestTests 4✅ 366ms

✅ 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