diff --git a/test/Microsoft.AspNet.Identity.EntityFramework.InMemory.Test/InMemoryContext.cs b/test/Microsoft.AspNet.Identity.EntityFramework.InMemory.Test/InMemoryContext.cs index 958906623a..8e1e910618 100644 --- a/test/Microsoft.AspNet.Identity.EntityFramework.InMemory.Test/InMemoryContext.cs +++ b/test/Microsoft.AspNet.Identity.EntityFramework.InMemory.Test/InMemoryContext.cs @@ -27,7 +27,7 @@ namespace Microsoft.AspNet.Identity.EntityFramework.InMemory.Test protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder) { // Want fresh in memory store for tests always for now - optionsBuilder.UseInMemoryStore(persist: false); + optionsBuilder.UseInMemoryDatabase(persist: false); } } } \ No newline at end of file diff --git a/test/Microsoft.AspNet.Identity.EntityFramework.InMemory.Test/RoleStoreTest.cs b/test/Microsoft.AspNet.Identity.EntityFramework.InMemory.Test/RoleStoreTest.cs index d691c0237b..7b37dfa04f 100644 --- a/test/Microsoft.AspNet.Identity.EntityFramework.InMemory.Test/RoleStoreTest.cs +++ b/test/Microsoft.AspNet.Identity.EntityFramework.InMemory.Test/RoleStoreTest.cs @@ -23,7 +23,7 @@ namespace Microsoft.AspNet.Identity.EntityFramework.InMemory.Test public async Task CanCreateRoleWithSingletonManager() { var services = TestIdentityFactory.CreateTestServices(); - services.AddEntityFramework().AddInMemoryStore(); + services.AddEntityFramework().AddInMemoryDatabase(); services.AddTransient(); services.AddTransient, RoleStore>(); services.AddSingleton>(); diff --git a/test/Microsoft.AspNet.Identity.EntityFramework.InMemory.Test/TestIdentityFactory.cs b/test/Microsoft.AspNet.Identity.EntityFramework.InMemory.Test/TestIdentityFactory.cs index 06b8c38183..7ba8cd41cf 100644 --- a/test/Microsoft.AspNet.Identity.EntityFramework.InMemory.Test/TestIdentityFactory.cs +++ b/test/Microsoft.AspNet.Identity.EntityFramework.InMemory.Test/TestIdentityFactory.cs @@ -12,7 +12,7 @@ namespace Microsoft.AspNet.Identity.EntityFramework.InMemory.Test public static InMemoryContext CreateContext() { var services = new ServiceCollection(); - services.AddEntityFramework().AddInMemoryStore(); + services.AddEntityFramework().AddInMemoryDatabase(); var serviceProvider = services.BuildServiceProvider(); var db = new InMemoryContext();