Update Identity tests to use new EF EnsureCreated method.

This commit is contained in:
ajcvickers 2014-05-13 15:33:24 -07:00
parent 8024c92b58
commit be7c69e5c0
1 changed files with 1 additions and 4 deletions

View File

@ -33,10 +33,7 @@ namespace Microsoft.AspNet.Identity.Entity.Test
var db = new IdentityContext(serviceProvider);
// TODO: Recreate DB, doesn't support String ID or Identity context yet
if (!db.Database.Exists())
{
db.Database.Create();
}
db.Database.EnsureCreated();
// TODO: CreateAsync DB?
return db;