diff --git a/libresonic-main/src/test/java/org/libresonic/player/TestCaseUtils.java b/libresonic-main/src/test/java/org/libresonic/player/TestCaseUtils.java index 8c22dfe1..1bad4c3d 100644 --- a/libresonic-main/src/test/java/org/libresonic/player/TestCaseUtils.java +++ b/libresonic-main/src/test/java/org/libresonic/player/TestCaseUtils.java @@ -25,19 +25,6 @@ public class TestCaseUtils { return targetDir + LIBRESONIC_HOME_FOR_TEST; } - /** - * Constructs the path of a resource according to the path of the current class. - * - * @param baseResources - * @return - */ - private static String basePath(String baseResources) { - String basePath = TestCaseUtils.class.getResource(baseResources).toString(); - if (basePath.startsWith("file:")) { - return TestCaseUtils.class.getResource(baseResources).toString().replace("file:",""); - } - return basePath; - } public static void deleteLibresonicHome() throws IOException {