WithProxy

This commit is contained in:
Stef Heyenrath committed 2017-05-07 10:01:31 +02:00
1 parent 7bfd9f3343
commit 2c8142b93d
5 files changed
+6 -6

No files matched your search

@@ -360,7 +360,7 @@ namespace WireMock.Net.Tests
_server = FluentMockServer.Start();
_server
.Given(Request.Create().WithPath("/*"))
.RespondWith(Response.Create().FromProxyUrl("http://www.google.com"));
.RespondWith(Response.Create().WithProxy("http://www.google.com"));
// when
var result = await new HttpClient().GetStringAsync("http://localhost:" + _server.Ports[0] + "/foo");