add channel enabled status to fee configuration

This commit is contained in:
Carsten Otto
2021-11-28 12:04:05 +01:00
parent d6e16fb8f0
commit 7c64fe172b
11 changed files with 141 additions and 12 deletions

View File

@@ -126,6 +126,8 @@ class ChannelControllerIT {
.andExpect(jsonPath("$.balance.remoteBalance", is("223")))
.andExpect(jsonPath("$.balance.remoteReserve", is("20")))
.andExpect(jsonPath("$.balance.remoteAvailable", is("203")))
.andExpect(jsonPath("$.feeConfiguration.enabledLocal", is(false)))
.andExpect(jsonPath("$.feeConfiguration.enabledRemote", is(true)))
.andExpect(jsonPath("$.feeConfiguration.outgoingFeeRatePpm", is(1)))
.andExpect(jsonPath("$.feeConfiguration.outgoingBaseFeeMilliSat", is(2)))
.andExpect(jsonPath("$.feeConfiguration.incomingFeeRatePpm", is(3)))
@@ -159,6 +161,8 @@ class ChannelControllerIT {
.andExpect(jsonPath("$.outgoingFeeRatePpm", is(1)))
.andExpect(jsonPath("$.outgoingBaseFeeMilliSat", is(2)))
.andExpect(jsonPath("$.incomingFeeRatePpm", is(3)))
.andExpect(jsonPath("$.incomingBaseFeeMilliSat", is(4)));
.andExpect(jsonPath("$.incomingBaseFeeMilliSat", is(4)))
.andExpect(jsonPath("$.enabledLocal", is(false)))
.andExpect(jsonPath("$.enabledRemote", is(true)));
}
}