log metrics for legacy controller

This commit is contained in:
Carsten Otto
2021-11-13 14:08:41 +01:00
parent a696e0bbd8
commit 887952d01e
12 changed files with 130 additions and 120 deletions

View File

@@ -1,5 +1,6 @@
package de.cotto.lndmanagej.controller;
import de.cotto.lndmanagej.metrics.Metrics;
import de.cotto.lndmanagej.model.Coins;
import de.cotto.lndmanagej.service.BalanceService;
import de.cotto.lndmanagej.service.ChannelService;
@@ -55,6 +56,10 @@ class LegacyControllerIT {
@MockBean
private BalanceService balanceService;
@MockBean
@SuppressWarnings("unused")
private Metrics metrics;
@Test
void getAlias() throws Exception {
when(nodeService.getAlias(PUBKEY)).thenReturn(ALIAS);