Update new test to use UsePerRequestServices
This commit is contained in:
parent
b6bd7f5d78
commit
6fe663951d
|
|
@ -12,7 +12,7 @@ namespace TagHelpersWebSite
|
||||||
{
|
{
|
||||||
var configuration = app.GetTestConfiguration();
|
var configuration = app.GetTestConfiguration();
|
||||||
|
|
||||||
app.UseServices(services =>
|
app.UsePerRequestServices(services =>
|
||||||
{
|
{
|
||||||
services.AddMvc(configuration);
|
services.AddMvc(configuration);
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue