WithProxy

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

View File

@@ -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");