Skip to content

Commit

Permalink
fix(#832): Changes constructor to allow Endpoint arg rather than Http…
Browse files Browse the repository at this point in the history
…Server
  • Loading branch information
Thorsten Schlathölter committed Jan 17, 2022
1 parent da033ae commit d195eca
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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));
}

Expand Down

0 comments on commit d195eca

Please sign in to comment.