Skip to content

Commit 3c53a89

Browse files
committed
#188: fixing some ITs
1 parent e346077 commit 3c53a89

File tree

3 files changed

+18
-4
lines changed

3 files changed

+18
-4
lines changed

server/src/test/scala/za/co/absa/atum/server/api/http/BaseEndpointsUnitTest.scala

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,19 @@
1+
/*
2+
* Copyright 2021 ABSA Group Limited
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License");
5+
* you may not use this file except in compliance with the License.
6+
* You may obtain a copy of the License at
7+
*
8+
* http://www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS,
12+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
* See the License for the specific language governing permissions and
14+
* limitations under the License.
15+
*/
16+
117
package za.co.absa.atum.server.api.http
218

319
import org.scalatest.flatspec.AnyFlatSpec

server/src/test/scala/za/co/absa/atum/server/api/http/CreateCheckpointEndpointIntegrationTests.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ object CreateCheckpointEndpointIntegrationTests extends ZIOSpecDefault with Endp
5656
.backend()
5757

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

6262
suite("CreateCheckpointEndpointSuite")(

server/src/test/scala/za/co/absa/atum/server/api/http/CreatePartitioningEndpointIntegrationTests.scala

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,6 @@ import zio._
3333
import zio.test.Assertion.equalTo
3434
import zio.test._
3535

36-
import java.util.UUID
37-
3836
object CreatePartitioningEndpointIntegrationTests extends ZIOSpecDefault with Endpoints with TestData {
3937

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

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

6462
suite("CreatePartitioningEndpointSuite")(

0 commit comments

Comments
 (0)