From 5e8b8c62f1b4faba7924ea2c4a173ccc4224cee5 Mon Sep 17 00:00:00 2001 From: Jake Landis Date: Tue, 30 Apr 2024 18:24:55 -0500 Subject: [PATCH] nits --- .../authz/permission/RemoteClusterPermissionsTests.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/security/authz/permission/RemoteClusterPermissionsTests.java b/x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/security/authz/permission/RemoteClusterPermissionsTests.java index f4f213190d338..394455879bbdf 100644 --- a/x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/security/authz/permission/RemoteClusterPermissionsTests.java +++ b/x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/security/authz/permission/RemoteClusterPermissionsTests.java @@ -145,13 +145,13 @@ public void testPrivilegeNames() { // special case where there was only 1 random value and it was replaced with a value that is allowed assertArrayEquals(privileges, found); } else { - // none of the random privileges are not allowed for the current version + // none of the random privileges are allowed for the current version assertFalse(Arrays.equals(privileges, found)); if (i == 0) { - // ensure that for the current version we only find "monitor_enrich" + // ensure that for the current version we only find the valid "monitor_enrich" assertThat(Set.of(found), equalTo(Set.of("monitor_enrich"))); } else { - // all other groups should not have any privileges + // all other groups should be found to not have any privileges assertTrue(found.length == 0); } }