private IRaceVenturaDbContext InMemoryContext(string connection) { var options = new DbContextOptionsBuilder <RaceVenturaDbContext>() .UseInMemoryDatabase(connection) .EnableSensitiveDataLogging() .Options; var context = new RaceVenturaDbContext(options); return(context); }
public void InitializeTest() { _Sut = new RaceVenturaDbContext(new DbContextOptions <RaceVenturaDbContext>()); }