From 6498e53d0008c47cc47c3b5bb756d75e60fdf29d Mon Sep 17 00:00:00 2001 From: Derek Ho Date: Tue, 1 Oct 2024 15:46:14 -0400 Subject: [PATCH] Spotless Apply Signed-off-by: Derek Ho --- .../security/api/DefaultApiAvailabilityIntegrationTest.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/integrationTest/java/org/opensearch/security/api/DefaultApiAvailabilityIntegrationTest.java b/src/integrationTest/java/org/opensearch/security/api/DefaultApiAvailabilityIntegrationTest.java index a64087e6c4..f28d1e63f9 100644 --- a/src/integrationTest/java/org/opensearch/security/api/DefaultApiAvailabilityIntegrationTest.java +++ b/src/integrationTest/java/org/opensearch/security/api/DefaultApiAvailabilityIntegrationTest.java @@ -95,9 +95,7 @@ private void verifyAuthInfoApi(final TestRestClient client) throws Exception { @Test public void flushCache() throws Exception { - withUser(NEW_USER, client -> { - forbidden(() -> client.delete(apiPath("cache"))); - }); + withUser(NEW_USER, client -> { forbidden(() -> client.delete(apiPath("cache"))); }); withUser(ADMIN_USER_NAME, localCluster.getAdminCertificate(), client -> { methodNotAllowed(() -> client.get(apiPath("cache"))); methodNotAllowed(() -> client.postJson(apiPath("cache"), EMPTY_BODY));