diff --git a/test/Microsoft.AspNetCore.Dispatcher.FunctionalTest/ApiAppStartup.cs b/test/Microsoft.AspNetCore.Dispatcher.FunctionalTest/ApiAppStartup.cs index 16db011349..4f2cf54af3 100644 --- a/test/Microsoft.AspNetCore.Dispatcher.FunctionalTest/ApiAppStartup.cs +++ b/test/Microsoft.AspNetCore.Dispatcher.FunctionalTest/ApiAppStartup.cs @@ -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(); + services.AddSingleton(); services.Configure(ConfigureDispatcher); }