Skip to content

Commit 63e630a

Browse files
authored
Enable LDAP integration tests based on profile (#3627)
1 parent 8011b31 commit 63e630a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

uaa/src/test/java/org/cloudfoundry/identity/uaa/integration/LdapIntegrationTests.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
import org.cloudfoundry.identity.uaa.ServerRunningExtension;
1818
import org.cloudfoundry.identity.uaa.client.UaaClientDetails;
1919
import org.cloudfoundry.identity.uaa.constants.OriginKeys;
20+
import org.cloudfoundry.identity.uaa.extensions.profiles.EnabledIfProfile;
2021
import org.cloudfoundry.identity.uaa.integration.util.IntegrationTestUtils;
2122
import org.cloudfoundry.identity.uaa.oauth.client.ClientConstants;
2223
import org.cloudfoundry.identity.uaa.oauth.common.util.RandomValueStringGenerator;
@@ -42,6 +43,7 @@
4243
import static org.cloudfoundry.identity.uaa.integration.util.IntegrationTestUtils.doesSupportZoneDNS;
4344
import static org.cloudfoundry.identity.uaa.provider.ExternalIdentityProviderDefinition.USER_ATTRIBUTE_PREFIX;
4445

46+
@EnabledIfProfile("ldap")
4547
class LdapIntegrationTests {
4648
@RegisterExtension
4749
private static final ServerRunningExtension serverRunning = ServerRunningExtension.connect();

0 commit comments

Comments
 (0)