Fixed Dispose on AbstractDbTest.cs and cleaned up some warnings on unit tests.
This commit is contained in:
parent
32c035b5c8
commit
adf7882038
17 changed files with 1369 additions and 1384 deletions
|
|
@ -7,8 +7,8 @@ public class PersonHelperTests : AbstractDbTest
|
|||
{
|
||||
protected override async Task ResetDb()
|
||||
{
|
||||
_context.Series.RemoveRange(_context.Series.ToList());
|
||||
await _context.SaveChangesAsync();
|
||||
Context.Series.RemoveRange(Context.Series.ToList());
|
||||
await Context.SaveChangesAsync();
|
||||
}
|
||||
//
|
||||
// // 1. Test adding new people and keeping existing ones
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue