public when_getting_all_weather_forecasts(LoopbackTestFixture <InMemoryDbStartup> fixture) { _fixture = fixture; var applicationDbContext = _fixture.ServiceProvider.GetRequiredService <ApplicationDbContext>(); applicationDbContext.WeatherForecasts.Add(new WeatherForecast()); applicationDbContext.SaveChanges(); }
public when_requesting_the_swagger_doc(LoopbackTestFixture <InMemoryDbStartup> fixture) { _fixture = fixture; }
public when_creating_a_weather_forecast(LoopbackTestFixture <InMemoryDbStartup> fixture) { _fixture = fixture; }