More Test fixes · pari-/docker-java@fe2c5ee · GitHub
Skip to content
This repository was archived by the owner on Nov 14, 2025. It is now read-only.

Commit fe2c5ee

Browse files
committed
More Test fixes
1 parent cc0b2e0 commit fe2c5ee

3 files changed

Lines changed: 9 additions & 4 deletions

File tree

src/test/java/com/github/dockerjava/cmd/PullImageCmdIT.java

Lines changed: 4 additions & 2 deletions

src/test/java/com/github/dockerjava/core/util/CertificateUtilsTest.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
import org.junit.BeforeClass;
66
import org.junit.Test;
77

8+
import java.io.File;
89
import java.io.IOException;
910
import java.nio.file.Files;
1011
import java.nio.file.Paths;
@@ -86,6 +87,6 @@ public void readMultipleCaCerts() throws Exception {
8687
}
8788

8889
private String readFileAsString(String path) throws IOException {
89-
return new String(Files.readAllBytes(Paths.get(baseDir + path)));
90+
return new String(Files.readAllBytes(Paths.get(new File(baseDir + path).getPath())));
9091
}
9192
}

src/test/java/com/github/dockerjava/utils/RegistryUtils.java

Lines changed: 3 additions & 1 deletion

0 commit comments

Comments
 (0)