Skip to content

Commit

Permalink
Addressing GitHub comments
Browse files Browse the repository at this point in the history
  • Loading branch information
TebaleloS committed Sep 4, 2024
1 parent 18faca9 commit bcce813
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,7 @@ trait BaseEndpoints {
oneOf[ErrorResponse](
badRequestOneOfVariant,
generalErrorOneOfVariant,
internalServerErrorOneOfVariant,
notFoundErrorOneOfVariant
internalServerErrorOneOfVariant
)
)
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ import sttp.tapir.server.http4s.ztapir.ZHttp4sServerInterpreter
import sttp.tapir.server.interceptor.metrics.MetricsRequestInterceptor
import sttp.tapir.swagger.bundle.SwaggerInterpreter
import sttp.tapir.ztapir._
import za.co.absa.atum.model.dto.{AdditionalDataDTO, AdditionalDataPatchDTO, CheckpointDTO, CheckpointV2DTO}
import za.co.absa.atum.model.dto.{AdditionalDataDTO, AdditionalDataPatchDTO, CheckpointV2DTO}
import za.co.absa.atum.server.Constants.{SwaggerApiName, SwaggerApiVersion}
import za.co.absa.atum.server.api.controller.{CheckpointController, FlowController, PartitioningController}
import za.co.absa.atum.server.api.http.ApiPaths.V2Paths
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ object PartitioningRepositoryUnitTests extends ZIOSpecDefault with TestData {
failsWithA[NotFoundDatabaseError]
)
},
test("Returns expected DatabaseError") {
test("Returns expected GeneralDatabaseError") {
assertZIO(PartitioningRepository.getPartitioningMeasuresById(4L).exit)(
failsWithA[GeneralDatabaseError]
)
Expand Down

0 comments on commit bcce813

Please sign in to comment.