We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4ceb420 commit 023bd35Copy full SHA for 023bd35
src/GeekLearning.Testavior/Environment/TestEnvironment.cs
@@ -47,7 +47,9 @@ public HttpClient CreateClient(bool supportCookies = true)
47
{
48
if (supportCookies)
49
50
- return new HttpClient(new TestMessageHandler(this.Server.CreateHandler()));
+ var client = new HttpClient(new TestMessageHandler(this.Server.CreateHandler()));
51
+ client.BaseAddress = this.Server.BaseAddress;
52
+ return client;
53
}
54
else
55
0 commit comments