85 references to GetTestClient
Aspire.Dashboard.Tests (6)
Middleware\ValidateTokenMiddlewareTests.cs (6)
22
var response = await host.
GetTestClient
().GetAsync("/login?t=test").DefaultTimeout();
30
var response = await host.
GetTestClient
().GetAsync("/login?t=test&returnUrl=/test").DefaultTimeout();
38
var response = await host.
GetTestClient
().GetAsync("/login?t=wrong").DefaultTimeout();
46
var response = await host.
GetTestClient
().GetAsync("/login?t=wrong&returnUrl=/test").DefaultTimeout();
54
var response = await host.
GetTestClient
().GetAsync("/login?t=token").DefaultTimeout();
62
var response = await host.
GetTestClient
().GetAsync("/login?t=token&returnUrl=/test").DefaultTimeout();
Microsoft.AspNetCore.Authentication.JwtBearer.Tools.Tests (1)
UserJwtsTests.cs (1)
97
var client = webApp.
GetTestClient
();
Microsoft.AspNetCore.Diagnostics.Middleware.Tests (2)
Latency\AcceptanceTests.cs (1)
78
_ = await host.
GetTestClient
().GetAsync("/");
Logging\AcceptanceTests.cs (1)
173
using var client = host.
GetTestClient
();
Microsoft.AspNetCore.Identity.FunctionalTests (37)
MapIdentityApiTests.cs (37)
47
using var client = app.
GetTestClient
();
56
using var client = app.
GetTestClient
();
66
using var client = app.
GetTestClient
();
77
using var client = app.
GetTestClient
();
88
using var client = app.
GetTestClient
();
98
using var client = app.
GetTestClient
();
110
using var client = app.
GetTestClient
();
143
using var client = app.
GetTestClient
();
180
using var client = app.
GetTestClient
();
211
using var client = app.
GetTestClient
();
234
using var client = app.
GetTestClient
();
259
using var client = app.
GetTestClient
();
279
using var client = app.
GetTestClient
();
295
using var client = app.
GetTestClient
();
314
using var client = app.
GetTestClient
();
340
using var client = app.
GetTestClient
();
384
using var client = app.
GetTestClient
();
403
using var client = app.
GetTestClient
();
436
using var client = app.
GetTestClient
();
466
using var client = app.
GetTestClient
();
494
using var client = app.
GetTestClient
();
519
using var client = app.
GetTestClient
();
544
using var client = app.
GetTestClient
();
579
using var client = app.
GetTestClient
();
608
using var client = app.
GetTestClient
();
655
using var client = app.
GetTestClient
();
670
using var client = app.
GetTestClient
();
728
using var client = app.
GetTestClient
();
780
using var client = app.
GetTestClient
();
827
using var client = app.
GetTestClient
();
896
using var client = app.
GetTestClient
();
964
using var client = app.
GetTestClient
();
1035
using var client = app.
GetTestClient
();
1126
using var client = app.
GetTestClient
();
1201
using var client = app.
GetTestClient
();
1230
using var client = app.
GetTestClient
();
1290
using var client = app.
GetTestClient
();
Microsoft.AspNetCore.JsonPatch.SystemTextJson.Tests (1)
JsonPatchContentTypeEndToEndTest.cs (1)
49
using var client = host.
GetTestClient
();
Microsoft.AspNetCore.JsonPatch.Tests (1)
JsonPatchContentTypeEndToEndTest.cs (1)
50
using var client = host.
GetTestClient
();
Microsoft.AspNetCore.Mvc.FunctionalTests (5)
AntiforgeryMiddlewareTest.cs (5)
35
var client = app.
GetTestClient
();
81
var client = app.
GetTestClient
();
119
var client = app.
GetTestClient
();
151
var client = app.
GetTestClient
();
183
var client = app.
GetTestClient
();
Microsoft.AspNetCore.StaticAssets.Tests (11)
StaticAssetsIntegrationTests.cs (11)
58
var client = app.
GetTestClient
();
108
var client = app.
GetTestClient
();
160
var client = app.
GetTestClient
();
223
var client = app.
GetTestClient
();
280
var client = app.
GetTestClient
();
329
var client = app.
GetTestClient
();
380
var client = app.
GetTestClient
();
433
var client = app.
GetTestClient
();
499
var client = app.
GetTestClient
();
556
var client = app.
GetTestClient
();
738
return app.
GetTestClient
();
Microsoft.AspNetCore.TestHost.Tests (1)
TestServerTests.cs (1)
71
var response = await host.
GetTestClient
().GetAsync("/");
Microsoft.AspNetCore.Tests (20)
WebApplicationTests.cs (20)
1455
var client = app.
GetTestClient
();
1604
var client = app.
GetTestClient
();
1675
var client = app.
GetTestClient
();
1702
var client = app.
GetTestClient
();
1740
var client = app.
GetTestClient
();
1913
var client = app.
GetTestClient
();
1940
var client = app.
GetTestClient
();
2000
var client = app.
GetTestClient
();
2037
var client = app.
GetTestClient
();
2058
var client = app.
GetTestClient
();
2089
var client = app.
GetTestClient
();
2143
var client = app.
GetTestClient
();
2168
var client = app.
GetTestClient
();
2411
var client = app.
GetTestClient
();
2469
var client = app.
GetTestClient
();
2557
var client = app.
GetTestClient
();
2583
var client = app.
GetTestClient
();
2601
var client = app.
GetTestClient
();
2636
var client = app.
GetTestClient
();
2666
var client = app.
GetTestClient
();