diff --git a/src/test/java/com/github/mauricioaniche/ck/BaseTest.java b/src/test/java/com/github/mauricioaniche/ck/BaseTest.java index bad2d536..d25a9986 100644 --- a/src/test/java/com/github/mauricioaniche/ck/BaseTest.java +++ b/src/test/java/com/github/mauricioaniche/ck/BaseTest.java @@ -7,6 +7,8 @@ import java.io.File; import java.io.IOException; +import java.net.URLDecoder; +import java.nio.charset.StandardCharsets; import java.util.*; import java.util.concurrent.Callable; @@ -19,7 +21,7 @@ public abstract class BaseTest { protected static String fixturesDir() { try { String cfgFile = new File(BaseTest.class.getResource("/").getPath() + "../../fixtures/").getCanonicalPath(); - return cfgFile; + return URLDecoder.decode(cfgFile, StandardCharsets.UTF_8); } catch (IOException e) { throw new RuntimeException(e); }