#2685 - Bump ebean-test-docker to 5.1 with newBuilder() -> builder() with deprecation

This commit is contained in:
Rob Bygrave
2022-05-05 09:17:35 +12:00
parent 5bb9745b3c
commit f41704b58c
12 changed files with 12 additions and 12 deletions
@@ -21,7 +21,7 @@ class ElasticSearchSetup {
String version = read("version", null);
if (version != null) {
Properties properties = populateDockerProperties(version);
ElasticContainer.newBuilder(version)
ElasticContainer.builder(version)
.properties(properties)
.build()
.start();
@@ -15,7 +15,7 @@ class RedisSetup {
String host = dockerHost.dockerHost(properties.getProperty("ebean.test.dockerHost"));
properties.setProperty("redis.host", host);
}
RedisContainer.newBuilder(version)
RedisContainer.builder(version)
.properties(properties)
.build()
.start();