mirror of
https://github.com/aljazceru/lnd-manageJ.git
synced 2026-01-22 07:24:23 +01:00
add open/closed/pending/... state, group channel status
This commit is contained in:
@@ -72,9 +72,10 @@ class ChannelDetailsControllerIT {
|
||||
.andExpect(jsonPath("$.remoteAlias", is(ALIAS_2)))
|
||||
.andExpect(jsonPath("$.capacity", is(String.valueOf(CAPACITY.satoshis()))))
|
||||
.andExpect(jsonPath("$.openHeight", is(CHANNEL_ID.getBlockHeight())))
|
||||
.andExpect(jsonPath("$.private", is(true)))
|
||||
.andExpect(jsonPath("$.active", is(true)))
|
||||
.andExpect(jsonPath("$.closed", is(false)))
|
||||
.andExpect(jsonPath("$.status.private", is(true)))
|
||||
.andExpect(jsonPath("$.status.active", is(true)))
|
||||
.andExpect(jsonPath("$.status.closed", is(false)))
|
||||
.andExpect(jsonPath("$.status.openClosed", is("OPEN")))
|
||||
.andExpect(jsonPath("$.onChainCosts.openCosts", is("1000")))
|
||||
.andExpect(jsonPath("$.onChainCosts.closeCosts", is("2000")))
|
||||
.andExpect(jsonPath("$.balance.localBalance", is("2000")))
|
||||
|
||||
Reference in New Issue
Block a user