1 write to Client
Microsoft.AspNetCore.Mvc.FunctionalTests (1)
FiltersTest.cs (1)
19
Client
= Factory.CreateDefaultClient();
8 references to Client
Microsoft.AspNetCore.Mvc.FunctionalTests (8)
FiltersTest.cs (8)
20
Client
.DefaultRequestHeaders.Add("Authorization", "Bearer key");
36
var response = await
Client
.GetAsync("AuthorizeUser/AdminRole");
47
var response = await
Client
.GetAsync("AuthorizeUser/ApiManagers");
58
var response = await
Client
.GetAsync("AuthorizeUser/Impossible");
73
var response = await
Client
.GetAsync($"{culture}/Filters/MiddlewareFilterTest");
93
var response = await
Client
.SendAsync(request);
107
var response = await
Client
.GetStringAsync(url);
120
var response = await
Client
.GetAsync(url);