Skip to content

Commit

Permalink
Delete unused imports in test file
Browse files Browse the repository at this point in the history
  • Loading branch information
Andy Lin committed May 22, 2021
1 parent 79812b6 commit 4fd9998
Showing 1 changed file with 1 addition and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,18 +14,13 @@
import com.google.common.collect.Lists;
import org.junit.Assert;
import org.junit.Test;
import org.opensearch.common.settings.Setting;
import org.opensearch.common.settings.Settings;
import org.opensearch.security.ssl.util.LegacyOpenDistroSSLSecuritySettings;
import org.opensearch.security.ssl.util.SSLConfigConstants;
import org.opensearch.security.ssl.util.SSLSecuritySettings;
import org.opensearch.security.support.ConfigConstants;
import org.opensearch.security.support.LegacyOpenDistroSecuritySettings;
import org.opensearch.security.support.SecuritySettings;

import java.util.List;
import java.util.Map;
import java.util.function.Function;

public class SecuritySettingsTests {

Expand Down Expand Up @@ -383,7 +378,7 @@ public void testSSLSettingsGetValueWithLegacyFallback() {
.put("opendistro_security.ssl.http.crl.disable_crldp", false)
.put("opendistro_security.ssl.http.crl.disable_ocsp", false)
.put("opendistro_security.ssl.http.crl.validation_date", 1)
.build();
.build();

Assert.assertEquals(SSLSecuritySettings.SECURITY_SSL_HTTP_CLIENTAUTH_MODE.get(settings), "test");
Assert.assertEquals(SSLSecuritySettings.SECURITY_SSL_HTTP_KEYSTORE_ALIAS.get(settings), "test");
Expand Down

0 comments on commit 4fd9998

Please sign in to comment.