From a146f0484bc6a21be8ea74d8c8e561dd502fc437 Mon Sep 17 00:00:00 2001 From: Ryan Nowak Date: Fri, 29 Sep 2017 16:26:29 -0700 Subject: [PATCH] fix test break --- .../ApiAppStartup.cs | 4 ++++ 1 file changed, 4 insertions(+) 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); }