public UserProfileRepositoryTests() { var db = new DbContextOptionsBuilder<TeammateOnlineContext>(); db.UseInMemoryDatabase(); context = new TeammateOnlineContext(db.Options); userProfileRepository = new UserProfileRepository(context); SeedData(); }
public GamePlatformRepositoryTests() { var db = new DbContextOptionsBuilder<TeammateOnlineContext>(); db.UseInMemoryDatabase(); context = new TeammateOnlineContext(db.Options); gamePlatformRepository = new GamePlatformRepository(context); SeedData(); }