Fix test after merging in master branch

This commit is contained in:
Christoph Büscher 2016-11-15 15:55:09 +01:00
parent d6738fa650
commit 3d4804f9ed
1 changed files with 1 additions and 1 deletions

View File

@ -98,7 +98,7 @@ public class RankEvalSpecTests extends ESTestCase {
RankEvalSpec testItem = new RankEvalSpec(specs, metric);
if (randomBoolean()) {
final Map<String, Object> params = randomBoolean() ? null : Collections.singletonMap("key", "value");
final Map<String, Object> params = randomBoolean() ? Collections.emptyMap() : Collections.singletonMap("key", "value");
ScriptType scriptType = randomFrom(ScriptType.values());
String script;
if (scriptType == ScriptType.INLINE) {