1 write to Client
Microsoft.AspNetCore.Mvc.FunctionalTests (1)
TempDataPropertyTest.cs (1)
19
Client
= Factory.CreateDefaultClient();
10 references to Client
Microsoft.AspNetCore.Mvc.FunctionalTests (10)
TempDataPropertyTest.cs (10)
45
var redirectResponse = await
Client
.PostAsync("TempDataProperty/CreateForView", content);
51
var response = await
Client
.SendAsync(GetRequest(redirectResponse.Headers.Location.ToString(), redirectResponse));
73
var redirectResponse = await
Client
.PostAsync("TempDataProperty/Create", content);
79
var response = await
Client
.SendAsync(GetRequest(redirectResponse.Headers.Location.ToString(), redirectResponse));
102
var response = await
Client
.PostAsync("TempDataProperty/CreateNoRedirect", content);
108
response = await
Client
.SendAsync(GetRequest("TempDataProperty/TempDataKept", response));
116
response = await
Client
.SendAsync(GetRequest("TempDataProperty/ReadTempData", response));
139
var response = await
Client
.PostAsync("TempDataProperty/CreateNoRedirect", content);
145
response = await
Client
.SendAsync(GetRequest("TempDataProperty/ReadTempData", response));
153
response = await
Client
.SendAsync(GetRequest("TempDataProperty/ReadTempData", response));