We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e1a1650 commit ffe7cc4Copy full SHA for ffe7cc4
src/test/java/com/github/dockerjava/client/AbstractDockerClientTest.java
@@ -38,6 +38,8 @@ public abstract class AbstractDockerClientTest extends Assert {
38
39
public static final Logger LOG = LoggerFactory.getLogger(AbstractDockerClientTest.class);
40
41
+ private String apiVersion = "1.19";
42
+
43
protected DockerClient dockerClient;
44
45
protected TestDockerCmdExecFactory dockerCmdExecFactory = new TestDockerCmdExecFactory(
@@ -68,7 +70,8 @@ protected DockerClientConfig config(String password) {
68
70
if (password != null) {
69
71
builder = builder.withPassword(password);
72
}
- return builder.build();
73
74
+ return builder.withVersion(apiVersion).build();
75
76
77
public void afterTest() {
0 commit comments