diff --git a/datastore_server/sourceTest/java/ch/systemsx/cisd/openbis/dss/client/api/v1/impl/DssComponentTest.java b/datastore_server/sourceTest/java/ch/systemsx/cisd/openbis/dss/client/api/v1/impl/DssComponentTest.java index 86b13e8c3a2544d01c7967456d2f2c160c58260d..13499c9f1e18f7a1d38c0f76c8ab92cc9bd9df6a 100644 --- a/datastore_server/sourceTest/java/ch/systemsx/cisd/openbis/dss/client/api/v1/impl/DssComponentTest.java +++ b/datastore_server/sourceTest/java/ch/systemsx/cisd/openbis/dss/client/api/v1/impl/DssComponentTest.java @@ -569,7 +569,7 @@ public class DssComponentTest extends AbstractFileSystemTestCase try { this.fileInputStream = new FileInputStream(file); - url = file.toURL(); + url = file.toURI().toURL(); } catch (Exception ex) { throw CheckedExceptionTunnel.wrapIfNecessary(ex);