React to EF name changes

This commit is contained in:
Arthur Vickers 2015-06-23 16:00:47 -07:00
parent 3d53334a03
commit 3ad117ac83
3 changed files with 3 additions and 3 deletions

View File

@ -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);
}
}
}

View File

@ -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<InMemoryContext>();
services.AddTransient<IRoleStore<IdentityRole>, RoleStore<IdentityRole, InMemoryContext>>();
services.AddSingleton<RoleManager<IdentityRole>>();

View File

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