Skip to content

Commit

Permalink
[Test] Fix test for api_key enabled (#78163)
Browse files Browse the repository at this point in the history
Since #76801, the API Key feature is enabled by default and no longer
ties to HTTPS setting. This PR fixes the test to reflect the new
default.

Resolves: #78162
  • Loading branch information
ywangd authored Sep 22, 2021
1 parent e73d16d commit c9fc086
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ public void testUsage() throws Exception {
apiKeyServiceEnabled = randomBoolean();
settings.put("xpack.security.authc.api_key.enabled", apiKeyServiceEnabled);
} else {
apiKeyServiceEnabled = httpSSLEnabled;
apiKeyServiceEnabled = true; // this is the default
}

final boolean auditingEnabled = randomBoolean();
Expand Down

0 comments on commit c9fc086

Please sign in to comment.