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>();