mirror of
https://github.com/aljazceru/lnd-manageJ.git
synced 2026-01-22 07:24:23 +01:00
report online percentage in online report
This commit is contained in:
@@ -9,7 +9,11 @@ class OnlineReportDtoTest {
|
||||
@Test
|
||||
void createFromModel() {
|
||||
assertThat(OnlineReportDto.createFromModel(ONLINE_REPORT)).isEqualTo(
|
||||
new OnlineReportDto(ONLINE_REPORT.online(), ONLINE_REPORT.since().toString())
|
||||
new OnlineReportDto(
|
||||
ONLINE_REPORT.online(),
|
||||
ONLINE_REPORT.since().toString(),
|
||||
ONLINE_REPORT.onlinePercentageLastWeek()
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user