test: Don't generate a value of 0, because FuzzyQuery constructor does't allow that

This commit is contained in:
Martijn van Groningen 2016-05-19 13:08:30 +02:00
parent 050145f61b
commit e2691d7e5c
1 changed files with 1 additions and 1 deletions

View File

@ -89,7 +89,7 @@ public class MatchQueryBuilderTests extends AbstractQueryTestCase<MatchQueryBuil
} }
if (randomBoolean()) { if (randomBoolean()) {
matchQuery.maxExpansions(randomIntBetween(0, 1000)); matchQuery.maxExpansions(randomIntBetween(1, 1000));
} }
if (randomBoolean()) { if (randomBoolean()) {