mirror of
https://github.com/ebean-orm/ebean.git
synced 2024-04-21 10:51:47 +00:00
#2685 - Bump ebean-test-docker to 5.1 with newBuilder() -> builder() with deprecation
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user