diff --git a/src/test/java/co/rsk/federate/BtcToRskClientTest.java b/src/test/java/co/rsk/federate/BtcToRskClientTest.java index dc8042a9f..8723c4996 100644 --- a/src/test/java/co/rsk/federate/BtcToRskClientTest.java +++ b/src/test/java/co/rsk/federate/BtcToRskClientTest.java @@ -2505,7 +2505,7 @@ void updateBridge_whenUpdateBridgeConfigAreFalse_shouldNotCallAny() throws Excep } @Test - void updateBridge_noUpdateBridgeConfigDefined_shouldCallSendUpdateCollections() throws Exception { + void updateBridge_noUpdateBridgeConfigDefined_shouldTriggerBridgeUpdates() throws Exception { NodeBlockProcessor nodeBlockProcessor = mock(NodeBlockProcessor.class); when(nodeBlockProcessor.hasBetterBlockToSync()).thenReturn(false); @@ -2534,6 +2534,9 @@ void updateBridge_noUpdateBridgeConfigDefined_shouldCallSendUpdateCollections() btcToRskClient.updateBridge(); + verify(btcToRskClient).updateBridgeBtcBlockchain(); + verify(btcToRskClient).updateBridgeBtcCoinbaseTransactions(); + verify(btcToRskClient).updateBridgeBtcTransactions(); verify(federatorSupport).sendUpdateCollections(); }