diff --git a/server/src/test/java/org/cloudfoundry/identity/uaa/client/JdbcClientMetadataProvisioningTest.java b/server/src/test/java/org/cloudfoundry/identity/uaa/client/JdbcClientMetadataProvisioningTest.java index 9101d9d63a7..53eadbf5b0e 100644 --- a/server/src/test/java/org/cloudfoundry/identity/uaa/client/JdbcClientMetadataProvisioningTest.java +++ b/server/src/test/java/org/cloudfoundry/identity/uaa/client/JdbcClientMetadataProvisioningTest.java @@ -1,10 +1,10 @@ package org.cloudfoundry.identity.uaa.client; import org.cloudfoundry.identity.uaa.annotations.WithDatabaseContext; +import org.cloudfoundry.identity.uaa.extensions.profiles.DisabledIfProfile; import org.cloudfoundry.identity.uaa.util.AlphanumericRandomValueStringGenerator; import org.cloudfoundry.identity.uaa.zone.MultitenantJdbcClientDetailsService; import org.junit.jupiter.api.BeforeEach; -import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.dao.EmptyResultDataAccessException; @@ -80,7 +80,7 @@ void constraintViolation_WhenNoMatchingClientFound() throws Exception { * @see PAD_CHAR_TO_FULL_LENGTH */ @Test - @Disabled("SQL Migration script 4.112 changes this column to varchar because MySQL deprecated PAD_CHAR_TO_FULL_LENGTH") + @DisabledIfProfile("mysql") void createdByPadsTo36Chars() { jdbcTemplate.execute(insertIntoOauthClientDetails(clientId, identityZoneId, "abcdef"));