React to EF change in tests

This commit is contained in:
ajcvickers 2014-12-02 14:32:28 -08:00
parent 4030d77b31
commit f24d3a5462
1 changed files with 2 additions and 2 deletions

View File

@ -160,7 +160,7 @@ namespace Microsoft.AspNet.Identity.EntityFramework.InMemory.Test
{ {
throw new ArgumentNullException("user"); throw new ArgumentNullException("user");
} }
await Context.UpdateAsync(user, cancellationToken); Context.Update(user);
await SaveChanges(cancellationToken); await SaveChanges(cancellationToken);
} }
@ -172,7 +172,7 @@ namespace Microsoft.AspNet.Identity.EntityFramework.InMemory.Test
{ {
throw new ArgumentNullException("user"); throw new ArgumentNullException("user");
} }
Context.Delete(user); Context.Remove(user);
await SaveChanges(cancellationToken); await SaveChanges(cancellationToken);
} }