mirror of
https://github.com/corda/corda.git
synced 2024-12-28 00:38:55 +00:00
Make the test pass.
This commit is contained in:
parent
b578b934f7
commit
90e8621324
@ -52,6 +52,7 @@ class NodeTest {
|
|||||||
val dataSourceProperties = makeTestDataSourceProperties()
|
val dataSourceProperties = makeTestDataSourceProperties()
|
||||||
val databaseConfig = DatabaseConfig()
|
val databaseConfig = DatabaseConfig()
|
||||||
val configuration = rigorousMock<AbstractNodeConfiguration>().also {
|
val configuration = rigorousMock<AbstractNodeConfiguration>().also {
|
||||||
|
doReturn(null).whenever(it).relay
|
||||||
doReturn(nodeAddress).whenever(it).p2pAddress
|
doReturn(nodeAddress).whenever(it).p2pAddress
|
||||||
doReturn(nodeName).whenever(it).myLegalName
|
doReturn(nodeName).whenever(it).myLegalName
|
||||||
doReturn(null).whenever(it).notary // Don't add notary identity.
|
doReturn(null).whenever(it).notary // Don't add notary identity.
|
||||||
|
Loading…
Reference in New Issue
Block a user