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 1493d95 commit 74c18c8Copy full SHA for 74c18c8
tests/TodoApp.Tests/HttpServerFixture.cs
@@ -36,33 +36,6 @@ async Task IAsyncLifetime.DisposeAsync()
36
}
37
38
39
- public HttpClient CreateHttpClient()
40
- {
41
- var handler = new HttpClientHandler()
42
43
- AllowAutoRedirect = ClientOptions.AllowAutoRedirect,
44
- CheckCertificateRevocationList = true,
45
- MaxAutomaticRedirections = ClientOptions.MaxAutomaticRedirections,
46
- UseCookies = ClientOptions.HandleCookies,
47
- };
48
-
49
- try
50
51
- var client = new HttpClient(handler, disposeHandler: true);
52
53
- ConfigureClient(client);
54
55
- client.BaseAddress = ClientOptions.BaseAddress;
56
57
- return client;
58
- }
59
- catch (Exception)
60
61
- handler.Dispose();
62
- throw;
63
64
65
66
protected override void ConfigureWebHost(IWebHostBuilder builder)
67
{
68
base.ConfigureWebHost(builder);
0 commit comments