From cf6460592d254bf9f56729bac471c77b63ea8b67 Mon Sep 17 00:00:00 2001 From: Christian Sailer Date: Tue, 17 Oct 2017 14:27:12 +0100 Subject: [PATCH] Replace references to finance packages in unit tests with perftest packages --- .../perftestcordapp/contracts/CommercialPaperTests.kt | 2 +- .../enterprise/perftestcordapp/contracts/asset/CashTests.kt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/perftestcordapp/src/test/kotlin/com/r3/corda/enterprise/perftestcordapp/contracts/CommercialPaperTests.kt b/perftestcordapp/src/test/kotlin/com/r3/corda/enterprise/perftestcordapp/contracts/CommercialPaperTests.kt index 21577cd447..bc53a924c6 100644 --- a/perftestcordapp/src/test/kotlin/com/r3/corda/enterprise/perftestcordapp/contracts/CommercialPaperTests.kt +++ b/perftestcordapp/src/test/kotlin/com/r3/corda/enterprise/perftestcordapp/contracts/CommercialPaperTests.kt @@ -216,7 +216,7 @@ class CommercialPaperTestsGeneric { // @Test @Ignore fun `issue move and then redeem`() { - setCordappPackages("net.corda.finance.contracts") + setCordappPackages("com.r3.enterprise.perftestcordapp.contracts") initialiseTestSerialization() val aliceDatabaseAndServices = MockServices.makeTestDatabaseAndMockServices(keys = listOf(ALICE_KEY)) val databaseAlice = aliceDatabaseAndServices.first diff --git a/perftestcordapp/src/test/kotlin/com/r3/corda/enterprise/perftestcordapp/contracts/asset/CashTests.kt b/perftestcordapp/src/test/kotlin/com/r3/corda/enterprise/perftestcordapp/contracts/asset/CashTests.kt index c58ff06be3..3ab50223f9 100644 --- a/perftestcordapp/src/test/kotlin/com/r3/corda/enterprise/perftestcordapp/contracts/asset/CashTests.kt +++ b/perftestcordapp/src/test/kotlin/com/r3/corda/enterprise/perftestcordapp/contracts/asset/CashTests.kt @@ -832,7 +832,7 @@ class CashTests : TestDependencyInjectionBase() { // Double spend. @Test fun chainCashDoubleSpendFailsWith() { - val mockService = MockServices(listOf("net.corda.finance.contracts.asset"), MEGA_CORP_KEY) + val mockService = MockServices(listOf("com.r3.corda.enterprise.perftestcordapp.contracts.asset"), MEGA_CORP_KEY) ledger(mockService) { unverifiedTransaction {