6 references to PutAsync
Microsoft.AspNetCore.Diagnostics.Middleware.Tests (2)
Logging\AcceptanceTests.cs (2)
693
var ex = await Assert.ThrowsAsync<HttpRequestException>(() => client.
PutAsync
("/error?body=true", content));
727
var ex = await Assert.ThrowsAsync<HttpRequestException>(() => client.
PutAsync
("/error?body=true", content));
Microsoft.AspNetCore.Mvc.FunctionalTests (3)
ApiExplorerTest.cs (1)
1432
var response = await Client.
PutAsync
(
ControllerFromServicesTests.cs (1)
79
var response = await Client.
PutAsync
(
TestingInfrastructureTests.cs (1)
175
var response = await Client.
PutAsync
("Testing/Put/3", content: null);
Microsoft.AspNetCore.TestHost.Tests (1)
TestClientTests.cs (1)
99
var response = await client.
PutAsync
("http://localhost:12345", content).DefaultTimeout();