mirror of
https://github.com/bisq-network/bisq.git
synced 2025-02-24 23:18:17 +01:00
Fix missing param in test class
This commit is contained in:
parent
dbbbf1717b
commit
2ba68a13b8
2 changed files with 5 additions and 3 deletions
|
@ -49,7 +49,7 @@ public class BsqFormatter extends BSFormatter {
|
|||
private final MonetaryFormat btcCoinFormat;
|
||||
|
||||
@Inject
|
||||
private BsqFormatter() {
|
||||
public BsqFormatter() {
|
||||
super();
|
||||
|
||||
btcCoinFormat = super.coinFormat;
|
||||
|
|
|
@ -18,16 +18,18 @@
|
|||
package bisq.core.dao.state;
|
||||
|
||||
import bisq.core.dao.state.blockchain.Block;
|
||||
import org.junit.Test;
|
||||
import bisq.core.util.BsqFormatter;
|
||||
|
||||
import org.junit.Assert;
|
||||
import org.junit.Test;
|
||||
|
||||
public class DaoStateServiceTest {
|
||||
@Test
|
||||
public void testIsBlockHashKnown() {
|
||||
DaoStateService stateService = new DaoStateService(
|
||||
new DaoState(),
|
||||
new GenesisTxInfo("fakegenesistxid", 100));
|
||||
new GenesisTxInfo("fakegenesistxid", 100),
|
||||
new BsqFormatter());
|
||||
Assert.assertEquals(
|
||||
"Unknown block should not exist.",
|
||||
false,
|
||||
|
|
Loading…
Add table
Reference in a new issue