Skip to content

Commit 48bf60b

Browse files
committed
Fixed broken unit test
1 parent 4d73366 commit 48bf60b

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/MyTested.WebApi.Tests/BuildersTests/ServersTests/ServerTestBuilderTests.cs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -267,14 +267,13 @@ public void RemoteServerShouldWorkCorrectlyWithSpecificBaseAddress()
267267

268268
MyWebApi
269269
.Server()
270-
.WorkingRemotely("https://api.github.com")
270+
.WorkingRemotely("http://mytestedasp.net")
271271
.WithHttpRequestMessage(req => req
272-
.WithRequestUri("/users/ivaylokenov/repos")
273272
.WithHeader(HttpHeader.UserAgent, "MyTested.WebApi"))
274273
.ShouldReturnHttpResponseMessage()
275274
.WithResponseTime(time => time.TotalMilliseconds > 0)
276275
.WithStatusCode(HttpStatusCode.OK)
277-
.ContainingContentHeader(HttpContentHeader.ContentType, "application/json; charset=utf-8");
276+
.ContainingContentHeader(HttpContentHeader.ContentType, "text/html; charset=utf-8");
278277

279278
Assert.IsFalse(RemoteServer.GlobalIsConfigured);
280279
}

0 commit comments

Comments
 (0)