diff --git a/signing-server/src/test/kotlin/com/r3/corda/signing/configuration/ConfigurationTest.kt b/signing-server/src/test/kotlin/com/r3/corda/signing/configuration/ConfigurationTest.kt index 979033a086..385049b23b 100644 --- a/signing-server/src/test/kotlin/com/r3/corda/signing/configuration/ConfigurationTest.kt +++ b/signing-server/src/test/kotlin/com/r3/corda/signing/configuration/ConfigurationTest.kt @@ -8,8 +8,8 @@ import kotlin.test.assertEquals import kotlin.test.assertFailsWith class ConfigurationTest { - private val validConfigPath = File(javaClass.getResource("/signing_service.conf").path).absolutePath - private val invalidConfigPath = File(javaClass.getResource("/signing_service_fail.conf").path).absolutePath + private val validConfigPath = File(java.net.URLDecoder.decode(javaClass.getResource("/signing_service.conf").path, "UTF-8")).absolutePath + private val invalidConfigPath = File(java.net.URLDecoder.decode(javaClass.getResource("/signing_service_fail.conf").path, "UTF-8")).absolutePath @Test fun `authMode is parsed correctly`() {