81 references to GetTestClient
Aspire.Dashboard.Tests (6)
Middleware\ValidateTokenMiddlewareTests.cs (6)
22var response = await host.GetTestClient().GetAsync("/login?t=test").DefaultTimeout(); 30var response = await host.GetTestClient().GetAsync("/login?t=test&returnUrl=/test").DefaultTimeout(); 38var response = await host.GetTestClient().GetAsync("/login?t=wrong").DefaultTimeout(); 46var response = await host.GetTestClient().GetAsync("/login?t=wrong&returnUrl=/test").DefaultTimeout(); 54var response = await host.GetTestClient().GetAsync("/login?t=token").DefaultTimeout(); 62var response = await host.GetTestClient().GetAsync("/login?t=token&returnUrl=/test").DefaultTimeout();
Microsoft.AspNetCore.Authentication.JwtBearer.Tools.Tests (1)
UserJwtsTests.cs (1)
97var client = webApp.GetTestClient();
Microsoft.AspNetCore.Diagnostics.Middleware.Tests (2)
Latency\AcceptanceTests.cs (1)
78_ = await host.GetTestClient().GetAsync("/");
Logging\AcceptanceTests.cs (1)
129using var client = host.GetTestClient();
Microsoft.AspNetCore.Http.Extensions.Tests (2)
HttpResponseJsonExtensionsTests.cs (2)
510var client = app.GetTestClient(); 542var client = app.GetTestClient();
Microsoft.AspNetCore.Identity.FunctionalTests (35)
MapIdentityApiTests.cs (35)
44using var client = app.GetTestClient(); 53using var client = app.GetTestClient(); 63using var client = app.GetTestClient(); 74using var client = app.GetTestClient(); 85using var client = app.GetTestClient(); 95using var client = app.GetTestClient(); 107using var client = app.GetTestClient(); 140using var client = app.GetTestClient(); 177using var client = app.GetTestClient(); 208using var client = app.GetTestClient(); 231using var client = app.GetTestClient(); 256using var client = app.GetTestClient(); 276using var client = app.GetTestClient(); 292using var client = app.GetTestClient(); 311using var client = app.GetTestClient(); 337using var client = app.GetTestClient(); 381using var client = app.GetTestClient(); 400using var client = app.GetTestClient(); 433using var client = app.GetTestClient(); 463using var client = app.GetTestClient(); 491using var client = app.GetTestClient(); 516using var client = app.GetTestClient(); 541using var client = app.GetTestClient(); 605using var client = app.GetTestClient(); 652using var client = app.GetTestClient(); 667using var client = app.GetTestClient(); 725using var client = app.GetTestClient(); 777using var client = app.GetTestClient(); 824using var client = app.GetTestClient(); 893using var client = app.GetTestClient(); 961using var client = app.GetTestClient(); 1032using var client = app.GetTestClient(); 1123using var client = app.GetTestClient(); 1198using var client = app.GetTestClient(); 1227using var client = app.GetTestClient();
Microsoft.AspNetCore.Mvc.FunctionalTests (5)
AntiforgeryMiddlewareTest.cs (5)
35var client = app.GetTestClient(); 81var client = app.GetTestClient(); 119var client = app.GetTestClient(); 151var client = app.GetTestClient(); 183var client = app.GetTestClient();
Microsoft.AspNetCore.StaticAssets.Tests (9)
StaticAssetsIntegrationTests.cs (9)
58var client = app.GetTestClient(); 108var client = app.GetTestClient(); 160var client = app.GetTestClient(); 223var client = app.GetTestClient(); 280var client = app.GetTestClient(); 329var client = app.GetTestClient(); 380var client = app.GetTestClient(); 433var client = app.GetTestClient(); 616return app.GetTestClient();
Microsoft.AspNetCore.TestHost.Tests (1)
TestServerTests.cs (1)
71var response = await host.GetTestClient().GetAsync("/");
Microsoft.AspNetCore.Tests (20)
WebApplicationTests.cs (20)
1453var client = app.GetTestClient(); 1602var client = app.GetTestClient(); 1673var client = app.GetTestClient(); 1700var client = app.GetTestClient(); 1738var client = app.GetTestClient(); 1911var client = app.GetTestClient(); 1938var client = app.GetTestClient(); 1998var client = app.GetTestClient(); 2035var client = app.GetTestClient(); 2056var client = app.GetTestClient(); 2087var client = app.GetTestClient(); 2141var client = app.GetTestClient(); 2166var client = app.GetTestClient(); 2409var client = app.GetTestClient(); 2467var client = app.GetTestClient(); 2555var client = app.GetTestClient(); 2581var client = app.GetTestClient(); 2599var client = app.GetTestClient(); 2634var client = app.GetTestClient(); 2664var client = app.GetTestClient();