diff options
Diffstat (limited to 'vespa-testrunner-components')
-rw-r--r-- | vespa-testrunner-components/pom.xml | 5 | ||||
-rw-r--r-- | vespa-testrunner-components/src/test/java/com/yahoo/vespa/hosted/testrunner/PomXmlGeneratorTest.java | 3 |
2 files changed, 1 insertions, 7 deletions
diff --git a/vespa-testrunner-components/pom.xml b/vespa-testrunner-components/pom.xml index 7c9b8aa99f1..31568d01fb5 100644 --- a/vespa-testrunner-components/pom.xml +++ b/vespa-testrunner-components/pom.xml @@ -34,11 +34,6 @@ <artifactId>junit</artifactId> <scope>test</scope> </dependency> - <dependency> - <groupId>commons-io</groupId> - <artifactId>commons-io</artifactId> - <scope>test</scope> - </dependency> </dependencies> <build> diff --git a/vespa-testrunner-components/src/test/java/com/yahoo/vespa/hosted/testrunner/PomXmlGeneratorTest.java b/vespa-testrunner-components/src/test/java/com/yahoo/vespa/hosted/testrunner/PomXmlGeneratorTest.java index ca3da385dfe..c7799bff116 100644 --- a/vespa-testrunner-components/src/test/java/com/yahoo/vespa/hosted/testrunner/PomXmlGeneratorTest.java +++ b/vespa-testrunner-components/src/test/java/com/yahoo/vespa/hosted/testrunner/PomXmlGeneratorTest.java @@ -1,7 +1,6 @@ // Copyright 2020 Oath Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. package com.yahoo.vespa.hosted.testrunner; -import org.apache.commons.io.IOUtils; import org.junit.Test; import java.io.IOException; @@ -28,7 +27,7 @@ public class PomXmlGeneratorTest { } private void assertFile(String resourceFile, String actual) throws IOException { - String expected = IOUtils.toString(this.getClass().getResourceAsStream(resourceFile)); + String expected = new String(this.getClass().getResourceAsStream(resourceFile).readAllBytes()); assertEquals(resourceFile, expected, actual); } |