From f593b05cc3c5a8979250355b1b1dee8627ab9c3a Mon Sep 17 00:00:00 2001 From: ajcvickers Date: Tue, 11 Nov 2014 10:09:51 -0800 Subject: [PATCH] React to EF API removal --- .../RoleStoreTest.cs | 3 +-- .../TestIdentityFactory.cs | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/test/Microsoft.AspNet.Identity.EntityFramework.InMemory.Test/RoleStoreTest.cs b/test/Microsoft.AspNet.Identity.EntityFramework.InMemory.Test/RoleStoreTest.cs index 162e72ed12..4c9175b14e 100644 --- a/test/Microsoft.AspNet.Identity.EntityFramework.InMemory.Test/RoleStoreTest.cs +++ b/test/Microsoft.AspNet.Identity.EntityFramework.InMemory.Test/RoleStoreTest.cs @@ -4,7 +4,6 @@ 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; @@ -30,7 +29,7 @@ namespace Microsoft.AspNet.Identity.EntityFramework.InMemory.Test public async Task CanCreateRoleWithSingletonManager() { var services = new ServiceCollection(); - services.AddEntityFramework().AddInMemoryStore().UseLoggerFactory(); + services.AddEntityFramework().AddInMemoryStore(); 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 1949243637..1af3c89a81 100644 --- a/test/Microsoft.AspNet.Identity.EntityFramework.InMemory.Test/TestIdentityFactory.cs +++ b/test/Microsoft.AspNet.Identity.EntityFramework.InMemory.Test/TestIdentityFactory.cs @@ -3,7 +3,6 @@ using Microsoft.AspNet.Identity.Test; using Microsoft.Framework.DependencyInjection; -using Microsoft.Framework.DependencyInjection.Advanced; using Microsoft.Framework.DependencyInjection.Fallback; using Microsoft.Framework.Logging; @@ -14,7 +13,7 @@ namespace Microsoft.AspNet.Identity.EntityFramework.InMemory.Test public static InMemoryContext CreateContext() { var services = new ServiceCollection(); - services.AddEntityFramework().AddInMemoryStore().UseLoggerFactory(); + services.AddEntityFramework().AddInMemoryStore(); var serviceProvider = services.BuildServiceProvider(); var db = new InMemoryContext(serviceProvider);