mirror of
https://github.com/corda/corda.git
synced 2024-12-28 16:58:55 +00:00
Merge pull request #57 from corda/christians-fix-doorman-tests-for-windows
Fix URI use in doorman parameters test so it works on Windows as well
This commit is contained in:
commit
81804df1eb
@ -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…
Reference in New Issue
Block a user