Skip to content

Commit

Permalink
Updated test
Browse files Browse the repository at this point in the history
  • Loading branch information
aeidelman committed May 18, 2017
1 parent 98b8741 commit 8fb8790
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rskj-core/src/test/java/co/rsk/mine/MinerServerTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -193,10 +193,10 @@ public void submitBitcoinBlockInvalidBlockDoesntEliminateCache() {

Mockito.verify(ethereumImpl, Mockito.times(1)).addNewMinedBlock(Mockito.any());

// Finally, submit the same block again and validate that addNewMinedBlock is not called again
// Finally, submit the same block again and validate that addNewMinedBlock is called again
minerServer.submitBitcoinBlock(work.getBlockHashForMergedMining(), bitcoinMergedMiningBlock);

Mockito.verify(ethereumImpl, Mockito.times(1)).addNewMinedBlock(Mockito.any());
Mockito.verify(ethereumImpl, Mockito.times(2)).addNewMinedBlock(Mockito.any());
}

@Test
Expand Down

0 comments on commit 8fb8790

Please sign in to comment.