diff --git a/node/src/integration-test/kotlin/net/corda/node/services/BFTNotaryServiceTests.kt b/node/src/integration-test/kotlin/net/corda/node/services/BFTNotaryServiceTests.kt index 3c65d0e2a2..869ce4a6ea 100644 --- a/node/src/integration-test/kotlin/net/corda/node/services/BFTNotaryServiceTests.kt +++ b/node/src/integration-test/kotlin/net/corda/node/services/BFTNotaryServiceTests.kt @@ -43,13 +43,12 @@ import kotlin.test.assertEquals import kotlin.test.assertTrue class BFTNotaryServiceTests { - private lateinit var mockNet: MockNetwork + private val mockNet = MockNetwork(emptyList()) private lateinit var notary: Party private lateinit var node: StartedNode @Before fun before() { - mockNet = MockNetwork(emptyList()) node = mockNet.createNode() } @After