Skip to content

Commit 1455346

Browse files
author
elasticsearchmachine
committed
[CI] Auto commit changes from spotless
1 parent 740b073 commit 1455346

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/security/authc/AuthenticationTests.java

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -116,10 +116,7 @@ public void testCanAccessResourcesOf() {
116116
);
117117

118118
// realms are different, it's not the same owner
119-
assertCannotAccessResources(
120-
randomAuthentication(user1, realm1),
121-
randomCloudApiKeyAuthentication(user1)
122-
);
119+
assertCannotAccessResources(randomAuthentication(user1, realm1), randomCloudApiKeyAuthentication(user1));
123120

124121
// Same API key ID are the same owner
125122
final String apiKeyId1 = randomAlphaOfLengthBetween(10, 20);

0 commit comments

Comments
 (0)