add "is closed" to channel details

This commit is contained in:
Carsten Otto
2021-11-23 23:03:51 +01:00
parent 6d3b463e70
commit 29aef8d083
12 changed files with 59 additions and 0 deletions

View File

@@ -74,6 +74,7 @@ class ChannelDetailsControllerIT {
.andExpect(jsonPath("$.openHeight", is(CHANNEL_ID.getBlockHeight())))
.andExpect(jsonPath("$.private", is(true)))
.andExpect(jsonPath("$.active", is(true)))
.andExpect(jsonPath("$.closed", is(false)))
.andExpect(jsonPath("$.onChainCosts.openCosts", is("1000")))
.andExpect(jsonPath("$.onChainCosts.closeCosts", is("2000")))
.andExpect(jsonPath("$.balance.localBalance", is("2000")))