Skip to content

Commit f4ecc7d

Browse files
committed
Fixes
1 parent 2fa614a commit f4ecc7d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Mvc/Mvc.Testing/src/WebApplicationFactory.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ public partial class WebApplicationFactory<TEntryPoint> : IDisposable, IAsyncDis
3131
private IHost? _host;
3232
private Action<IWebHostBuilder> _configuration;
3333
private IWebHost? _webHost;
34-
private Uri _webHostAddress;
34+
private Uri? _webHostAddress;
3535
private readonly List<HttpClient> _clients = new();
3636
private readonly List<WebApplicationFactory<TEntryPoint>> _derivedFactories = new();
3737

@@ -507,7 +507,7 @@ public HttpClient CreateClient()
507507

508508
if (_useKestrel)
509509
{
510-
// Have to do this, as the ClientOptions.BaseAddress will be set to poitn to the kestrel server,
510+
// Have to do this, as the ClientOptions.BaseAddress will be set to point to the kestrel server,
511511
// and it may not match the original base address value.
512512
client.BaseAddress = ClientOptions.BaseAddress;
513513
}

0 commit comments

Comments
 (0)