Skip to content

Commit

Permalink
fixed uni test
Browse files Browse the repository at this point in the history
  • Loading branch information
paolocappelletti committed Apr 9, 2024
1 parent 907b889 commit ee4ecc3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -65,12 +65,12 @@ class SidechainNodeViewHolderTest extends JUnitSuite

@Before
def setUp(): Unit = {
MetricsManager.init(mock[NetworkTimeProvider])
history = mock[SidechainHistory]
state = mock[SidechainState]
wallet = mock[SidechainWallet]
mempool = SidechainMemoryPool.createEmptyMempool(getMockedMempoolSettings(300))
mockedNodeViewHolderRef = getMockedSidechainNodeViewHolderRef(history, state, wallet, mempool)
MetricsManager.init(mock[NetworkTimeProvider])
}

private def getMockedMempoolSettings(maxSize: Int): MempoolSettings = {
Expand Down

0 comments on commit ee4ecc3

Please sign in to comment.