Skip to content

Commit

Permalink
Merge pull request #1593 from ripcurlx/fix-tests
Browse files Browse the repository at this point in the history
Fixes broken test maker
  • Loading branch information
ManfredKarrer authored Jun 27, 2018
2 parents 87b7359 + ee6e20e commit 98335e8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/test/java/bisq/core/user/PreferenceMakers.java
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,14 @@ public class PreferenceMakers {
public static final Property<Preferences, BisqEnvironment> bisqEnvironment = new Property<>();
public static final Property<Preferences, String> btcNodesFromOptions = new Property<>();
public static final Property<Preferences, String> useTorFlagFromOptions = new Property<>();
public static final Property<Preferences, String> referralID = new Property<>();

public static final Instantiator<Preferences> Preferences = lookup -> new Preferences(
lookup.valueOf(storage, new SameValueDonor<Storage>(null)),
lookup.valueOf(bisqEnvironment, new SameValueDonor<BisqEnvironment>(null)),
lookup.valueOf(btcNodesFromOptions, new SameValueDonor<String>(null)),
lookup.valueOf(useTorFlagFromOptions, new SameValueDonor<String>(null)));
lookup.valueOf(useTorFlagFromOptions, new SameValueDonor<String>(null)),
lookup.valueOf(referralID, new SameValueDonor<String>(null)));

public static final Preferences empty = make(a(Preferences));

Expand Down

0 comments on commit 98335e8

Please sign in to comment.