Fixed Dispose on AbstractDbTest.cs and cleaned up some warnings on unit tests.

This commit is contained in:
Joseph Milazzo 2025-05-03 07:29:09 -05:00
parent 32c035b5c8
commit adf7882038
17 changed files with 1369 additions and 1384 deletions

View file

@ -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