Skip to content

Commit

Permalink
Now works with hsqldb again
Browse files Browse the repository at this point in the history
  • Loading branch information
zapodot committed Jan 26, 2024
1 parent e248636 commit 8388fab
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 10 deletions.
5 changes: 5 additions & 0 deletions embedded-db-flyway/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,11 @@
<artifactId>flyway-core</artifactId>
<version>${flyway.version}</version>
</dependency>
<dependency>
<groupId>org.flywaydb</groupId>
<artifactId>flyway-database-hsqldb</artifactId>
<version>${flyway.version}</version>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>embedded-db-junit</artifactId>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
package org.zapodot.junit.db.plugin;

import com.google.common.collect.ImmutableMap;
import org.flywaydb.core.internal.license.FlywayTeamsUpgradeRequiredException;
import org.junit.Test;

import java.nio.charset.StandardCharsets;
import java.sql.SQLException;

import static org.junit.Assert.*;

Expand Down Expand Up @@ -58,12 +58,6 @@ public void testBuilder() {

@Test
public void ignorePatterns() {
assertThrows(FlywayTeamsUpgradeRequiredException.class, () ->
FlywayInitializer.builder().withIgnoreMissingMigrations()
);

assertThrows(FlywayTeamsUpgradeRequiredException.class, () ->
FlywayInitializer.builder().withIgnoreMigrationPatterns("repeatable:missing")
);
FlywayInitializer.builder().withIgnoreMigrationPatterns();
}
}
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<flyway.version>10.6.0</flyway.version>
<guava.version>32.0.0-jre</guava.version>
<h2.version>2.2.220</h2.version>
<hsqldb.version>2.7.1</hsqldb.version>
<hsqldb.version>2.7.2</hsqldb.version>
<jackson-bom.version>2.14.2</jackson-bom.version>
<jacoco-maven-plugin.version>0.8.11</jacoco-maven-plugin.version>
<java.version>11</java.version>
Expand Down Expand Up @@ -173,8 +173,8 @@
<groupId>org.hsqldb</groupId>
<artifactId>hsqldb</artifactId>
<version>${hsqldb.version}</version>
<classifier>jdk8</classifier>
<optional>true</optional>
<classifier>jdk8</classifier>
</dependency>
<dependency>
<groupId>net.bytebuddy</groupId>
Expand Down

0 comments on commit 8388fab

Please sign in to comment.