Skip to content

Commit

Permalink
tests: re-enable createdByPadsTo36Chars excpet for MySQL
Browse files Browse the repository at this point in the history
  • Loading branch information
Kehrlann committed Dec 17, 2024
1 parent c4c1972 commit d3ba14f
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -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;
Expand Down Expand Up @@ -80,7 +80,7 @@ void constraintViolation_WhenNoMatchingClientFound() throws Exception {
* @see <a href="https://dev.mysql.com/doc/refman/8.4/en/sql-mode.html#sqlmode_pad_char_to_full_length"> PAD_CHAR_TO_FULL_LENGTH </a>
*/
@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"));

Expand Down

0 comments on commit d3ba14f

Please sign in to comment.