Skip to content

Commit

Permalink
fix InfluxDbWeatherSourceCosmoIT
Browse files Browse the repository at this point in the history
  • Loading branch information
danielfeismann committed Feb 22, 2024
1 parent cce9dca commit dcfdc12
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ import edu.ie3.datamodel.models.value.WeatherValue
import edu.ie3.test.common.CosmoWeatherTestData
import edu.ie3.test.helper.TestContainerHelper
import edu.ie3.test.helper.WeatherSourceTestHelper
import edu.ie3.util.TimeUtil
import edu.ie3.util.geo.GeoUtils
import edu.ie3.util.interval.ClosedInterval
import org.locationtech.jts.geom.Point
Expand Down Expand Up @@ -45,7 +46,7 @@ class InfluxDbWeatherSourceCosmoIT extends Specification implements TestContaine
assert res.stderr.empty

def connector = new InfluxDbConnector(influxDbContainer.url, "test_weather", "test_scenario")
def weatherFactory = new CosmoTimeBasedWeatherValueFactory()
def weatherFactory = new CosmoTimeBasedWeatherValueFactory(TimeUtil.withDefaults)
source = new InfluxDbWeatherSource(connector, CosmoWeatherTestData.coordinateSource, weatherFactory)
}

Expand Down

0 comments on commit dcfdc12

Please sign in to comment.