1 write to TestServer
Microsoft.AspNetCore.TestHost (1)
RequestBuilder.cs (1)
22
TestServer
= server ?? throw new ArgumentNullException(nameof(server));
5 references to TestServer
Microsoft.AspNetCore.TestHost (4)
RequestBuilder.cs (4)
27
/// Gets the <see cref="
TestServer
"/> instance for which the request is being built.
75
return
TestServer
.CreateClient().SendAsync(_req);
85
return
TestServer
.CreateClient().SendAsync(_req);
95
return
TestServer
.CreateClient().SendAsync(_req);
Microsoft.AspNetCore.TestHost.Tests (1)
RequestBuilderTests.cs (1)
48
Assert.Equal(server, requestBuilder.
TestServer
);