Skip to content

Commit 1b654d7

Browse files
use default constructor
1 parent 609b9fd commit 1b654d7

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

src/test/groovy/edu/ie3/datamodel/io/factory/timeseries/IconTimeBasedWeatherValueFactoryTest.groovy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ class IconTimeBasedWeatherValueFactoryTest extends Specification {
7272

7373
def "A time based weather value factory for ICON column scheme builds a single time based value correctly"() {
7474
given:
75-
def factory = new IconTimeBasedWeatherValueFactory(TimeUtil.withDefaults)
75+
def factory = new IconTimeBasedWeatherValueFactory()
7676
def coordinate = CosmoWeatherTestData.COORDINATE_67775
7777

7878
def parameter = [

src/test/groovy/edu/ie3/datamodel/io/source/couchbase/CouchbaseWeatherSourceCosmoIT.groovy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ class CouchbaseWeatherSourceCosmoIT extends Specification implements TestContain
7373
couchbaseContainer.password,
7474
Duration.ofSeconds(20))
7575
def dtfPattern = "yyyy-MM-dd'T'HH:mm:ssxxx"
76-
def weatherFactory = new CosmoTimeBasedWeatherValueFactory(TimeUtil.withDefaults)
76+
def weatherFactory = new CosmoTimeBasedWeatherValueFactory()
7777
source = new CouchbaseWeatherSource(connector, CosmoWeatherTestData.coordinateSource, coordinateIdColumnName, weatherFactory, dtfPattern)
7878
}
7979

src/test/groovy/edu/ie3/datamodel/io/source/couchbase/CouchbaseWeatherSourceIconIT.groovy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ class CouchbaseWeatherSourceIconIT extends Specification implements TestContaine
7070
couchbaseContainer.password,
7171
Duration.ofSeconds(20))
7272
def dtfPattern = "yyyy-MM-dd'T'HH:mm:ssxxx"
73-
def weatherFactory = new IconTimeBasedWeatherValueFactory(TimeUtil.withDefaults)
73+
def weatherFactory = new IconTimeBasedWeatherValueFactory()
7474
source = new CouchbaseWeatherSource(connector, IconWeatherTestData.coordinateSource, coordinateIdColumnName, weatherFactory, dtfPattern)
7575
}
7676

src/test/groovy/edu/ie3/datamodel/io/source/influxdb/InfluxDbWeatherSourceCosmoIT.groovy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ class InfluxDbWeatherSourceCosmoIT extends Specification implements TestContaine
4646
assert res.stderr.empty
4747

4848
def connector = new InfluxDbConnector(influxDbContainer.url, "test_weather", "test_scenario")
49-
def weatherFactory = new CosmoTimeBasedWeatherValueFactory(TimeUtil.withDefaults)
49+
def weatherFactory = new CosmoTimeBasedWeatherValueFactory()
5050
source = new InfluxDbWeatherSource(connector, CosmoWeatherTestData.coordinateSource, weatherFactory)
5151
}
5252

0 commit comments

Comments
 (0)