Skip to content

Commit f19f1cf

Browse files
committed
fix(V4): Http mock server was incorrectly setting the trasnport to https
1 parent 9ddf126 commit f19f1cf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

consumer/src/main/kotlin/au/com/dius/pact/consumer/MockHttpServer.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -358,7 +358,7 @@ open class MockHttpServer(pact: BasePact, config: MockProviderConfig) :
358358
when (val p = pact.asV4Pact()) {
359359
is Result.Ok -> {
360360
for (interaction in p.value.interactions) {
361-
interaction.asV4Interaction().transport = "https"
361+
interaction.asV4Interaction().transport = "http"
362362
}
363363
p.value
364364
}

0 commit comments

Comments
 (0)