mirror of
https://github.com/corda/corda.git
synced 2025-02-27 03:27:34 +00:00
Fix URI use in doorman parameters test so it works on Windows as well
This commit is contained in:
parent
e22570a81d
commit
39d139dc15
@ -9,8 +9,8 @@ import kotlin.test.assertFailsWith
|
|||||||
|
|
||||||
class DoormanParametersTest {
|
class DoormanParametersTest {
|
||||||
private val testDummyPath = ".${File.separator}testDummyPath.jks"
|
private val testDummyPath = ".${File.separator}testDummyPath.jks"
|
||||||
private val validConfigPath = javaClass.getResource("/node.conf").path
|
private val validConfigPath = File(javaClass.getResource("/node.conf").toURI()).absolutePath
|
||||||
private val invalidConfigPath = javaClass.getResource("/node_fail.conf").path
|
private val invalidConfigPath = File(javaClass.getResource("/node_fail.conf").toURI()).absolutePath
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
fun `parse mode flag arg correctly`() {
|
fun `parse mode flag arg correctly`() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user