From e7a7a71d39df5944a1dd8a1e34ad60f77e03285e Mon Sep 17 00:00:00 2001 From: Hao Kung Date: Wed, 28 May 2014 16:44:30 -0700 Subject: [PATCH] Fix tests --- .../RoleStoreTest.cs | 8 -------- 1 file changed, 8 deletions(-) diff --git a/test/Microsoft.AspNet.Identity.Entity.Test/RoleStoreTest.cs b/test/Microsoft.AspNet.Identity.Entity.Test/RoleStoreTest.cs index e86b158fc0..bba6312ca1 100644 --- a/test/Microsoft.AspNet.Identity.Entity.Test/RoleStoreTest.cs +++ b/test/Microsoft.AspNet.Identity.Entity.Test/RoleStoreTest.cs @@ -23,11 +23,7 @@ namespace Microsoft.AspNet.Identity.Entity.Test public async Task CanCreateUsingAddRoleManager() { var services = new ServiceCollection(); -#if NET45 - // services.AddEntityFramework().AddSqlServer(); - //#else services.AddEntityFramework().AddInMemoryStore(); -#endif // TODO: this should construct a new instance of InMemoryStore var store = new EntityRoleStore(new IdentityContext()); services.AddIdentity(s => @@ -45,11 +41,7 @@ namespace Microsoft.AspNet.Identity.Entity.Test public async Task CanCreateRoleWithSingletonManager() { var services = new ServiceCollection(); -#if NET45 -// services.AddEntityFramework().AddSqlServer()) -//#else services.AddEntityFramework().AddInMemoryStore(); -#endif services.AddTransient(); services.AddTransient, EntityRoleStore>(); //todo: services.AddSingleton, RoleManager>();