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