Skip to content

Commit

Permalink
[FOLD] Fix unit test now that CryptoConditionsSuite is back
Browse files Browse the repository at this point in the history
  • Loading branch information
ximinez committed Aug 10, 2020
1 parent e764663 commit d096fae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/test/rpc/Feature_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ class Feature_test : public beast::unit_test::suite
BEAST_EXPECTS(
feature.isMember(jss::validations),
feature[jss::name].asString() + " validations");
BEAST_EXPECT(feature[jss::count] == 1);
BEAST_EXPECT(feature[jss::count] == (expectVeto ? 0 : 1));
BEAST_EXPECT(feature[jss::threshold] == 1);
BEAST_EXPECT(feature[jss::validations] == 1);
BEAST_EXPECT(expectVeto || feature[jss::majority] == 2740);
Expand Down

0 comments on commit d096fae

Please sign in to comment.