diff --git a/node/src/test/kotlin/net/corda/node/internal/NodeTest.kt b/node/src/test/kotlin/net/corda/node/internal/NodeTest.kt index e47ab67a0d..a480d7e966 100644 --- a/node/src/test/kotlin/net/corda/node/internal/NodeTest.kt +++ b/node/src/test/kotlin/net/corda/node/internal/NodeTest.kt @@ -52,6 +52,7 @@ class NodeTest { val dataSourceProperties = makeTestDataSourceProperties() val databaseConfig = DatabaseConfig() val configuration = rigorousMock().also { + doReturn(null).whenever(it).relay doReturn(nodeAddress).whenever(it).p2pAddress doReturn(nodeName).whenever(it).myLegalName doReturn(null).whenever(it).notary // Don't add notary identity.