Skip to content

Commit 45ba431

Browse files
committed
fix tests
1 parent 640b517 commit 45ba431

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

lib/stove-testing-e2e-http/src/test/kotlin/com/trendyol/stove/testing/e2e/http/DefaultHttpSystemTests.kt

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,9 @@ package com.trendyol.stove.testing.e2e.http
22

33
import arrow.core.None
44
import arrow.core.some
5-
import com.trendyol.stove.testing.e2e.http.HttpSystem.Companion.deleteAndExpectBodilessResponse
65
import com.trendyol.stove.testing.e2e.http.HttpSystem.Companion.get
76
import com.trendyol.stove.testing.e2e.http.HttpSystem.Companion.getMany
8-
import com.trendyol.stove.testing.e2e.http.HttpSystem.Companion.postAndExpectBodilessResponse
97
import com.trendyol.stove.testing.e2e.http.HttpSystem.Companion.postAndExpectJson
10-
import com.trendyol.stove.testing.e2e.http.HttpSystem.Companion.putAndExpectBodilessResponse
118
import com.trendyol.stove.testing.e2e.http.HttpSystem.Companion.putAndExpectJson
129
import com.trendyol.stove.testing.e2e.system.TestSystem
1310
import com.trendyol.stove.testing.e2e.system.abstractions.ApplicationUnderTest
@@ -57,10 +54,10 @@ class DefaultHttpSystemTests : FunSpec({
5754
}
5855

5956
http {
60-
deleteAndExpectBodilessResponse("/delete-success") { actual ->
57+
deleteAndExpectBodilessResponse("/delete-success", None) { actual ->
6158
actual.status shouldBe 200
6259
}
63-
deleteAndExpectBodilessResponse("/delete-fail") { actual ->
60+
deleteAndExpectBodilessResponse("/delete-fail", None) { actual ->
6461
actual.status shouldBe 400
6562
}
6663
}
@@ -76,7 +73,7 @@ class DefaultHttpSystemTests : FunSpec({
7673
}
7774

7875
http {
79-
putAndExpectBodilessResponse("/put-without-response-body") { actual ->
76+
putAndExpectBodilessResponse("/put-without-response-body", None, None) { actual ->
8077
actual.status shouldBe 200
8178
}
8279
putAndExpectJson<TestDto>("/put-with-response-body") { actual ->
@@ -95,7 +92,7 @@ class DefaultHttpSystemTests : FunSpec({
9592
}
9693

9794
http {
98-
postAndExpectBodilessResponse("/post-without-response-body") { actual ->
95+
postAndExpectBodilessResponse("/post-without-response-body", None, None) { actual ->
9996
actual.status shouldBe 200
10097
}
10198
postAndExpectJson<TestDto>("/post-with-response-body") { actual ->

0 commit comments

Comments
 (0)