From f19f1cfc223c9551692fd7f444a582c4288a25e4 Mon Sep 17 00:00:00 2001 From: Ronald Holshausen Date: Thu, 22 Aug 2024 15:37:09 +1000 Subject: [PATCH] fix(V4): Http mock server was incorrectly setting the trasnport to https --- .../src/main/kotlin/au/com/dius/pact/consumer/MockHttpServer.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/consumer/src/main/kotlin/au/com/dius/pact/consumer/MockHttpServer.kt b/consumer/src/main/kotlin/au/com/dius/pact/consumer/MockHttpServer.kt index 4d398226d..6696791b0 100755 --- a/consumer/src/main/kotlin/au/com/dius/pact/consumer/MockHttpServer.kt +++ b/consumer/src/main/kotlin/au/com/dius/pact/consumer/MockHttpServer.kt @@ -358,7 +358,7 @@ open class MockHttpServer(pact: BasePact, config: MockProviderConfig) : when (val p = pact.asV4Pact()) { is Result.Ok -> { for (interaction in p.value.interactions) { - interaction.asV4Interaction().transport = "https" + interaction.asV4Interaction().transport = "http" } p.value }