Skip to content

Commit

Permalink
Fix missing argument in test
Browse files Browse the repository at this point in the history
  • Loading branch information
ManfredKarrer committed Apr 8, 2019
1 parent 38a6d58 commit d916101
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions core/src/main/java/bisq/core/filter/Filter.java
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@

import org.springframework.util.CollectionUtils;

import com.google.common.annotations.VisibleForTesting;

import java.security.PublicKey;

import java.util.ArrayList;
Expand Down Expand Up @@ -123,6 +125,7 @@ public Filter(List<String> bannedOfferIds,
// PROTO BUFFER
///////////////////////////////////////////////////////////////////////////////////////////

@VisibleForTesting
public Filter(List<String> bannedOfferIds,
List<String> bannedNodeAddress,
List<PaymentAccountFilter> bannedPaymentAccounts,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public void testRoundtripFull() {
vo.setDisplayedAlert(new Alert("message", true, "version", new byte[]{12, -64, 12}, "string", null));
vo.setDevelopersFilter(new Filter(Lists.newArrayList(), Lists.newArrayList(), Lists.newArrayList(),
Lists.newArrayList(), Lists.newArrayList(), Lists.newArrayList(), Lists.newArrayList(), Lists.newArrayList(),
false, Lists.newArrayList(), false, "string", new byte[]{10, 0, 0}, null));
false, Lists.newArrayList(), false, null, "string", new byte[]{10, 0, 0}, null));
vo.setRegisteredArbitrator(ArbitratorTest.getArbitratorMock());
vo.setRegisteredMediator(MediatorTest.getMediatorMock());
vo.setAcceptedArbitrators(Lists.newArrayList(ArbitratorTest.getArbitratorMock()));
Expand Down

0 comments on commit d916101

Please sign in to comment.