Skip to content

Commit f0450c4

Browse files
authored
Disable entitlements on SamlMetadataCommandTests (#130949)
This is testing a CLI command, which will never run with entitlements, so just disable them. Resolves #130598
1 parent 15b5ffc commit f0450c4

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/authc/saml/SamlMetadataCommandTests.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
import org.elasticsearch.core.Tuple;
1818
import org.elasticsearch.env.Environment;
1919
import org.elasticsearch.env.TestEnvironment;
20+
import org.elasticsearch.test.ESTestCase.WithoutEntitlements;
2021
import org.elasticsearch.xpack.core.security.authc.RealmSettings;
2122
import org.elasticsearch.xpack.core.ssl.CertParsingUtils;
2223
import org.hamcrest.CoreMatchers;
@@ -60,6 +61,7 @@
6061
import static org.mockito.Mockito.mock;
6162
import static org.mockito.Mockito.when;
6263

64+
@WithoutEntitlements
6365
public class SamlMetadataCommandTests extends SamlTestCase {
6466

6567
private KeyStoreWrapper keyStore;

0 commit comments

Comments
 (0)