From 3499e06e2766ba12375d9f5a9aa6d43f0175c565 Mon Sep 17 00:00:00 2001 From: Ross Nicoll Date: Wed, 1 Feb 2017 18:36:35 +0000 Subject: [PATCH] Correct typo - "countryparty" to "counterparty" --- .../kotlin/net/corda/vega/SimmValuationTest.kt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/samples/simm-valuation-demo/src/integration-test/kotlin/net/corda/vega/SimmValuationTest.kt b/samples/simm-valuation-demo/src/integration-test/kotlin/net/corda/vega/SimmValuationTest.kt index 2deef657f4..e3254bf057 100644 --- a/samples/simm-valuation-demo/src/integration-test/kotlin/net/corda/vega/SimmValuationTest.kt +++ b/samples/simm-valuation-demo/src/integration-test/kotlin/net/corda/vega/SimmValuationTest.kt @@ -42,8 +42,8 @@ class SimmValuationTest : IntegrationTestCategory { } } - private fun getPartyWithName(partyApi: HttpApi, countryparty: String): PortfolioApi.ApiParty = - getAvailablePartiesFor(partyApi).counterparties.single { it.text == countryparty } + private fun getPartyWithName(partyApi: HttpApi, counterparty: String): PortfolioApi.ApiParty = + getAvailablePartiesFor(partyApi).counterparties.single { it.text == counterparty } private fun getAvailablePartiesFor(partyApi: HttpApi): PortfolioApi.AvailableParties { return partyApi.getJson("whoami") @@ -68,4 +68,4 @@ class SimmValuationTest : IntegrationTestCategory { val valuations = partyApi.getJson("${counterparty.id}/portfolio/valuations") return (valuations.initialMargin.call["total"] != 0.0) } -} \ No newline at end of file +}