@@ -2,12 +2,9 @@ package com.trendyol.stove.testing.e2e.http
22
33import arrow.core.None
44import arrow.core.some
5- import com.trendyol.stove.testing.e2e.http.HttpSystem.Companion.deleteAndExpectBodilessResponse
65import com.trendyol.stove.testing.e2e.http.HttpSystem.Companion.get
76import com.trendyol.stove.testing.e2e.http.HttpSystem.Companion.getMany
8- import com.trendyol.stove.testing.e2e.http.HttpSystem.Companion.postAndExpectBodilessResponse
97import com.trendyol.stove.testing.e2e.http.HttpSystem.Companion.postAndExpectJson
10- import com.trendyol.stove.testing.e2e.http.HttpSystem.Companion.putAndExpectBodilessResponse
118import com.trendyol.stove.testing.e2e.http.HttpSystem.Companion.putAndExpectJson
129import com.trendyol.stove.testing.e2e.system.TestSystem
1310import 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