From ee6d0cbd6d4f6e73fca95467c4f8684fd5408d14 Mon Sep 17 00:00:00 2001 From: Pranav K Date: Fri, 17 Oct 2014 07:13:59 -0700 Subject: [PATCH] Fixing build break --- .../RoleStoreTest.cs | 4 +++- .../TestIdentityFactory.cs | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/test/Microsoft.AspNet.Identity.EntityFramework.InMemory.Test/RoleStoreTest.cs b/test/Microsoft.AspNet.Identity.EntityFramework.InMemory.Test/RoleStoreTest.cs index a04ad66e2c..162e72ed12 100644 --- a/test/Microsoft.AspNet.Identity.EntityFramework.InMemory.Test/RoleStoreTest.cs +++ b/test/Microsoft.AspNet.Identity.EntityFramework.InMemory.Test/RoleStoreTest.cs @@ -4,8 +4,10 @@ using System; using System.Threading.Tasks; using Microsoft.AspNet.Identity.Test; +using Microsoft.Framework.DependencyInjection.Advanced; using Microsoft.Framework.DependencyInjection; using Microsoft.Framework.DependencyInjection.Fallback; +using Microsoft.Framework.Logging; using Xunit; namespace Microsoft.AspNet.Identity.EntityFramework.InMemory.Test @@ -28,7 +30,7 @@ namespace Microsoft.AspNet.Identity.EntityFramework.InMemory.Test public async Task CanCreateRoleWithSingletonManager() { var services = new ServiceCollection(); - services.AddEntityFramework().AddInMemoryStore(); + services.AddEntityFramework().AddInMemoryStore().UseLoggerFactory(); services.AddTransient(); services.AddTransient, RoleStore>(); services.AddTransient, RoleValidator>(); diff --git a/test/Microsoft.AspNet.Identity.EntityFramework.InMemory.Test/TestIdentityFactory.cs b/test/Microsoft.AspNet.Identity.EntityFramework.InMemory.Test/TestIdentityFactory.cs index 369dd36a34..95b40a13c1 100644 --- a/test/Microsoft.AspNet.Identity.EntityFramework.InMemory.Test/TestIdentityFactory.cs +++ b/test/Microsoft.AspNet.Identity.EntityFramework.InMemory.Test/TestIdentityFactory.cs @@ -3,7 +3,9 @@ using Microsoft.AspNet.Identity.Test; using Microsoft.Framework.DependencyInjection; +using Microsoft.Framework.DependencyInjection.Advanced; using Microsoft.Framework.DependencyInjection.Fallback; +using Microsoft.Framework.Logging; namespace Microsoft.AspNet.Identity.EntityFramework.InMemory.Test { @@ -12,7 +14,7 @@ namespace Microsoft.AspNet.Identity.EntityFramework.InMemory.Test public static InMemoryContext CreateContext() { var services = new ServiceCollection(); - services.AddEntityFramework().AddInMemoryStore(); + services.AddEntityFramework().AddInMemoryStore().UseLoggerFactory(); var serviceProvider = services.BuildServiceProvider(); var db = new InMemoryContext(serviceProvider);