mirror of
https://github.com/bisq-network/bisq.git
synced 2025-02-24 15:10:44 +01:00
Fix param in test
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
This commit is contained in:
parent
8d0b0be505
commit
e653262751
1 changed files with 4 additions and 5 deletions
|
@ -35,14 +35,14 @@ import javafx.collections.ListChangeListener;
|
||||||
import java.util.Arrays;
|
import java.util.Arrays;
|
||||||
import java.util.Collections;
|
import java.util.Collections;
|
||||||
|
|
||||||
|
import org.mockito.Mock;
|
||||||
|
import org.mockito.MockitoAnnotations;
|
||||||
|
|
||||||
import org.junit.Before;
|
import org.junit.Before;
|
||||||
import org.junit.Test;
|
import org.junit.Test;
|
||||||
|
|
||||||
import static org.mockito.Mockito.*;
|
import static org.mockito.Mockito.*;
|
||||||
|
|
||||||
import org.mockito.Mock;
|
|
||||||
import org.mockito.MockitoAnnotations;
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Tests of the P2PDataStorage::onRemoved callback behavior to ensure that the proper number of signal events occur.
|
* Tests of the P2PDataStorage::onRemoved callback behavior to ensure that the proper number of signal events occur.
|
||||||
|
@ -71,8 +71,7 @@ public class ProposalServiceP2PDataStorageListenerTest {
|
||||||
mock(AppendOnlyDataStoreService.class),
|
mock(AppendOnlyDataStoreService.class),
|
||||||
mock(ProtectedDataStoreService.class),
|
mock(ProtectedDataStoreService.class),
|
||||||
this.daoStateService,
|
this.daoStateService,
|
||||||
mock(ProposalValidatorProvider.class),
|
mock(ProposalValidatorProvider.class));
|
||||||
true);
|
|
||||||
|
|
||||||
// Create a state so that all added/removed Proposals will actually update the tempProposals list.
|
// Create a state so that all added/removed Proposals will actually update the tempProposals list.
|
||||||
when(this.periodService.isInPhase(anyInt(), any(DaoPhase.Phase.class))).thenReturn(true);
|
when(this.periodService.isInPhase(anyInt(), any(DaoPhase.Phase.class))).thenReturn(true);
|
||||||
|
|
Loading…
Add table
Reference in a new issue