1 write to Client
Microsoft.AspNetCore.Mvc.FunctionalTests (1)
ApiBehaviorTest.cs (1)
27
Client
= Factory.CreateDefaultClient();
15 references to Client
Microsoft.AspNetCore.Mvc.FunctionalTests (15)
ApiBehaviorTest.cs (15)
58
var response = await
Client
.PostAsJsonAsync("/contact", contactModel);
109
var response = await
Client
.SendAsync(requestMessage);
125
var response = await
Client
.SendAsync(requestMessage);
153
var response = await
Client
.PostAsJsonAsync($"/contact/{action}", input);
174
var response = await
Client
.PostAsJsonAsync($"/contact/ActionWithCompositeComplexTypeParameter/{requestId}", input);
190
var response = await
Client
.GetAsync(url);
207
var response = await
Client
.PostAsync(url, new StringContent(string.Empty));
227
var response = await
Client
.GetAsync(url);
248
var response = await
Client
.GetAsync(url);
266
var response = await
Client
.GetAsync("/contact/ActionWithInferredModelBinderType?foo=Hello!");
281
var response = await
Client
.GetAsync("/contact/ActionWithInferredModelBinderTypeWithExplicitModelName?bar=Hello!");
295
var response = await
Client
.GetAsync("/contact/ActionReturningStatusCodeResult");
324
var response = await
Client
.GetAsync("/contact/ActionReturningStatusCodeResult");
342
var response = await
Client
.GetAsync("/contact/ActionReturningProblemDetails");
355
var response = await
Client
.GetAsync("/contact/ActionReturningValidationProblemDetails");