浏览代码

Runtime fields: fix a test name (#62498)

This fixes the name of a test method so we actually run it. I broke it a
few commits ago without realizing it.
Nik Everett 5 年之前
父节点
当前提交
956d78a108

+ 1 - 1
x-pack/plugin/runtime-fields/src/test/java/org/elasticsearch/xpack/runtimefields/mapper/BooleanScriptMappedFieldTypeTests.java

@@ -295,7 +295,7 @@ public class BooleanScriptMappedFieldTypeTests extends AbstractNonTextScriptMapp
         }
     }
 
-    public void randomTermsQueryDegeneratesIntoMatchNone() throws IOException {
+    public void testEmptyTermsQueryDegeneratesIntoMatchNone() throws IOException {
         assertThat(simpleMappedFieldType().termsQuery(List.of(), mockContext()), instanceOf(MatchNoDocsQuery.class));
     }