mirror of
https://github.com/bisq-network/bisq.git
synced 2025-02-23 23:06:39 +01:00
Fix tests
This commit is contained in:
parent
c0d2d534bc
commit
397772f5d0
1 changed files with 2 additions and 7 deletions
|
@ -40,8 +40,8 @@ public class DaoStateServiceTest {
|
|||
Block block = new Block(0, 1534800000, "fakeblockhash0", null);
|
||||
stateService.onNewBlockWithEmptyTxs(block);
|
||||
Assert.assertEquals(
|
||||
"Block that was added should exist.",
|
||||
true,
|
||||
"Block has to be genesis block to get added.",
|
||||
false,
|
||||
stateService.isBlockHashKnown("fakeblockhash0")
|
||||
);
|
||||
|
||||
|
@ -62,10 +62,5 @@ public class DaoStateServiceTest {
|
|||
false,
|
||||
stateService.isBlockHashKnown("fakeblockhash4")
|
||||
);
|
||||
Assert.assertEquals(
|
||||
"Block that was added along with more blocks should exist.",
|
||||
true,
|
||||
stateService.isBlockHashKnown("fakeblockhash3")
|
||||
);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue