From 89e136dac283cc58b0a75f383d53cbdc0a8ab71b Mon Sep 17 00:00:00 2001 From: Julie Tibshirani Date: Mon, 16 Jul 2018 10:00:45 -0700 Subject: [PATCH] Correct a comment in FieldLevelSecurityTests. --- .../org/elasticsearch/integration/FieldLevelSecurityTests.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/x-pack/plugin/security/src/test/java/org/elasticsearch/integration/FieldLevelSecurityTests.java b/x-pack/plugin/security/src/test/java/org/elasticsearch/integration/FieldLevelSecurityTests.java index 050d3094fb8ca..dd41bc5a7fdb7 100644 --- a/x-pack/plugin/security/src/test/java/org/elasticsearch/integration/FieldLevelSecurityTests.java +++ b/x-pack/plugin/security/src/test/java/org/elasticsearch/integration/FieldLevelSecurityTests.java @@ -311,7 +311,7 @@ public void testQuery() { .setQuery(matchQuery("alias", "value1")) .get(); assertHitCount(response, 1); - // user2 has no access to field1, so a query on its field alias should match with the document: + // user2 has no access to field1, so a query on its field alias should not match with the document: response = client().filterWithHeader(Collections.singletonMap(BASIC_AUTH_HEADER, basicAuthHeaderValue("user2", USERS_PASSWD))) .prepareSearch("test") .setQuery(matchQuery("alias", "value1"))