From d195eca6d60424cfe499a131b45c9adc1857edfb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thorsten=20Schlath=C3=B6lter?= Date: Wed, 22 Dec 2021 14:28:28 +0100 Subject: [PATCH] fix(#832): Changes constructor to allow Endpoint arg rather than HttpServer --- .../java/com/consol/citrus/dsl/builder/HttpActionBuilder.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/vintage/citrus-java-dsl/src/main/java/com/consol/citrus/dsl/builder/HttpActionBuilder.java b/vintage/citrus-java-dsl/src/main/java/com/consol/citrus/dsl/builder/HttpActionBuilder.java index b00e9f3899..f57d029fd1 100644 --- a/vintage/citrus-java-dsl/src/main/java/com/consol/citrus/dsl/builder/HttpActionBuilder.java +++ b/vintage/citrus-java-dsl/src/main/java/com/consol/citrus/dsl/builder/HttpActionBuilder.java @@ -2,6 +2,7 @@ import com.consol.citrus.TestAction; import com.consol.citrus.TestActionBuilder; +import com.consol.citrus.endpoint.Endpoint; import com.consol.citrus.http.client.HttpClient; import com.consol.citrus.http.server.HttpServer; import com.consol.citrus.spi.ReferenceResolver; @@ -26,7 +27,7 @@ public HttpClientActionBuilder client(String httpClient) { return new HttpClientActionBuilder(delegate.client(httpClient)); } - public HttpServerActionBuilder server(HttpServer httpServer) { + public HttpServerActionBuilder server(Endpoint httpServer) { return new HttpServerActionBuilder(delegate.server(httpServer)); }