Skip to content

Commit

Permalink
#188: fixing some ITs
Browse files Browse the repository at this point in the history
  • Loading branch information
lsulak committed Jun 13, 2024
1 parent e346077 commit 3c53a89
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
/*
* Copyright 2021 ABSA Group Limited
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

package za.co.absa.atum.server.api.http

import org.scalatest.flatspec.AnyFlatSpec
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ object CreateCheckpointEndpointIntegrationTests extends ZIOSpecDefault with Endp
.backend()

val request = basicRequest
.post(uri"https://test.com/api/v2/createCheckpoint")
.post(uri"https://test.com/api/v2/create-checkpoint")
.response(asJson[SingleSuccessResponse[CheckpointDTO]])

suite("CreateCheckpointEndpointSuite")(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,6 @@ import zio._
import zio.test.Assertion.equalTo
import zio.test._

import java.util.UUID

object CreatePartitioningEndpointIntegrationTests extends ZIOSpecDefault with Endpoints with TestData {

private val createPartitioningEndpointMock = mock(classOf[PartitioningController])
Expand All @@ -58,7 +56,7 @@ object CreatePartitioningEndpointIntegrationTests extends ZIOSpecDefault with En
.backend()

val request = basicRequest
.post(uri"https://test.com/api/v2/createPartitioning")
.post(uri"https://test.com/api/v2/create-partitioning")
.response(asJson[SingleSuccessResponse[AtumContextDTO]])

suite("CreatePartitioningEndpointSuite")(
Expand Down

0 comments on commit 3c53a89

Please sign in to comment.