From cf3b080d0cef8b6d22bf1378881e1c4b0f8f3e74 Mon Sep 17 00:00:00 2001 From: josecoll Date: Wed, 18 Oct 2017 14:54:47 +0100 Subject: [PATCH] Added missing cordappPackage dependencies. (#1894) --- .../net/corda/finance/contracts/asset/CashSelectionH2Test.kt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/finance/src/test/kotlin/net/corda/finance/contracts/asset/CashSelectionH2Test.kt b/finance/src/test/kotlin/net/corda/finance/contracts/asset/CashSelectionH2Test.kt index ef85dead0a..e0cb3297b5 100644 --- a/finance/src/test/kotlin/net/corda/finance/contracts/asset/CashSelectionH2Test.kt +++ b/finance/src/test/kotlin/net/corda/finance/contracts/asset/CashSelectionH2Test.kt @@ -1,9 +1,11 @@ package net.corda.finance.contracts.asset +import net.corda.core.internal.packageName import net.corda.core.utilities.getOrThrow import net.corda.finance.DOLLARS import net.corda.finance.flows.CashException import net.corda.finance.flows.CashPaymentFlow +import net.corda.finance.schemas.CashSchemaV1 import net.corda.testing.chooseIdentity import net.corda.testing.node.MockNetwork import org.assertj.core.api.Assertions.assertThatThrownBy @@ -14,7 +16,7 @@ class CashSelectionH2Test { @Test fun `check does not hold connection over retries`() { - val mockNet = MockNetwork(threadPerNode = true) + val mockNet = MockNetwork(threadPerNode = true, cordappPackages = listOf("net.corda.finance.contracts.asset", CashSchemaV1::class.packageName)) try { val notaryNode = mockNet.createNotaryNode() val bankA = mockNet.createNode(configOverrides = { existingConfig ->