Fix missing param in test class

This commit is contained in:
Manfred Karrer 2018-10-29 21:47:57 -05:00
parent dbbbf1717b
commit 2ba68a13b8
No known key found for this signature in database
GPG key ID: 401250966A6B2C46
2 changed files with 5 additions and 3 deletions

View file

@ -49,7 +49,7 @@ public class BsqFormatter extends BSFormatter {
private final MonetaryFormat btcCoinFormat;
@Inject
private BsqFormatter() {
public BsqFormatter() {
super();
btcCoinFormat = super.coinFormat;

View file

@ -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,