mirror of
https://github.com/corda/corda.git
synced 2024-12-20 21:43:14 +00:00
Correct typo - "countryparty" to "counterparty"
This commit is contained in:
parent
2f9af7d7dc
commit
3499e06e27
@ -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<PortfolioApi.AvailableParties>("whoami")
|
||||
|
Loading…
Reference in New Issue
Block a user