Skip to content

Commit c61689e

Browse files
committed
Replaces Array with Arrays
Corrects a typo in a test case by replacing `Array` with `Arrays`, ensuring the test functions as intended.
1 parent 3220179 commit c61689e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/security/authz/store/ReservedRolesStoreTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1851,7 +1851,7 @@ public void testKibanaSystemRole() {
18511851
assertViewIndexMetadata(kibanaRole, indexName);
18521852
});
18531853

1854-
Array.asList(".entities.v1.latest.security_" + randomAlphaOfLength(randomIntBetween(0, 13)))
1854+
Arrays.asList(".entities.v1.latest.security_" + randomAlphaOfLength(randomIntBetween(0, 13)))
18551855
.forEach(indexName -> assertAllIndicesAccessAllowed(kibanaRole, indexName));
18561856

18571857
Arrays.asList("metrics-logstash." + randomAlphaOfLength(randomIntBetween(0, 13))).forEach((indexName) -> {

0 commit comments

Comments
 (0)