We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fde79b3 commit 4d3ff56Copy full SHA for 4d3ff56
x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/job/config/RuleScopeTests.java
@@ -63,7 +63,7 @@ public void testValidate_GivenMultipleFieldsIncludingInvalid() {
63
64
ElasticsearchStatusException e = expectThrows(ElasticsearchStatusException.class,
65
() -> scope.validate(Sets.newHashSet("foo", "foobar")));
66
- assertThat(e.getMessage(), equalTo("Invalid detector rule: scope key 'bar' is invalid; select from [foo, foobar]"));
+ assertThat(e.getMessage(), equalTo("Invalid detector rule: scope field 'bar' is invalid; select from [foo, foobar]"));
67
}
68
69
public void testGetReferencedFilters_GivenEmpty() {
0 commit comments