From 22152fda598fbaa54627f81f15bbd3edbc74f8e4 Mon Sep 17 00:00:00 2001 From: Hao Kung Date: Thu, 9 Oct 2014 14:31:56 -0700 Subject: [PATCH] Update test to use UsePerRequestServices --- src/MusicStore/Mocks/StartupSocialTesting.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/MusicStore/Mocks/StartupSocialTesting.cs b/src/MusicStore/Mocks/StartupSocialTesting.cs index c9262243a9..17908a1f91 100644 --- a/src/MusicStore/Mocks/StartupSocialTesting.cs +++ b/src/MusicStore/Mocks/StartupSocialTesting.cs @@ -40,7 +40,7 @@ namespace MusicStore //Note: ErrorPageOptions.ShowAll to be used only at development time. Not recommended for production. app.UseErrorPage(ErrorPageOptions.ShowAll); - app.UseServices(services => + app.UsePerRequestServices(services => { //If this type is present - we're on mono var runningOnMono = Type.GetType("Mono.Runtime") != null;