fix test break

This commit is contained in:
Ryan Nowak 2017-09-29 16:26:29 -07:00
parent abb41302e9
commit a146f0484b
1 changed files with 4 additions and 0 deletions

View File

@ -17,7 +17,11 @@ namespace Microsoft.AspNetCore.Dispatcher.FunctionalTest
{
services.AddLogging();
services.AddDispatcher();
// This is a temporary layering issue, don't worry about it :)
services.AddRouting();
services.AddSingleton<RouteTemplateUrlGenerator>();
services.AddSingleton<IDefaultDispatcherFactory, TreeDispatcherFactory>();
services.Configure<DispatcherOptions>(ConfigureDispatcher);
}