report online percentage in online report

This commit is contained in:
Carsten Otto
2021-12-25 20:03:36 +01:00
parent c3eead54bc
commit 6d9e33b18d
14 changed files with 194 additions and 14 deletions

View File

@@ -101,6 +101,7 @@ class NodeControllerIT {
.andExpect(jsonPath("$.onChainCosts.closeCosts", is("2000")))
.andExpect(jsonPath("$.onChainCosts.sweepCosts", is("3000")))
.andExpect(jsonPath("$.onlineReport.online", is(true)))
.andExpect(jsonPath("$.onlineReport.onlinePercentageLastWeek", is(77)))
.andExpect(jsonPath("$.onlineReport.since", is("2021-12-23T01:02:03Z")));
}