Skip to content

Commit 89e136d

Browse files
committed
Correct a comment in FieldLevelSecurityTests.
1 parent 86d11b9 commit 89e136d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

x-pack/plugin/security/src/test/java/org/elasticsearch/integration/FieldLevelSecurityTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -311,7 +311,7 @@ public void testQuery() {
311311
.setQuery(matchQuery("alias", "value1"))
312312
.get();
313313
assertHitCount(response, 1);
314-
// user2 has no access to field1, so a query on its field alias should match with the document:
314+
// user2 has no access to field1, so a query on its field alias should not match with the document:
315315
response = client().filterWithHeader(Collections.singletonMap(BASIC_AUTH_HEADER, basicAuthHeaderValue("user2", USERS_PASSWD)))
316316
.prepareSearch("test")
317317
.setQuery(matchQuery("alias", "value1"))

0 commit comments

Comments
 (0)