Update to match MockNetwork API change (#1831)

This commit is contained in:
Ross Nicoll 2017-10-06 14:50:54 +01:00 committed by GitHub
parent 3f6ce3c861
commit 3afe855042

View File

@ -89,7 +89,7 @@ class CordaServiceTest {
notaryNode = mockNet.createNode(
legalName = DUMMY_NOTARY.name,
advertisedServices = *arrayOf(ServiceInfo(ValidatingNotaryService.type)))
nodeA = mockNet.createNode(notaryNode.network.myAddress)
nodeA = mockNet.createNode()
mockNet.startNodes()
}