use of org.flywaydb.core.internal.resolver.FlywayConfigurationForTests in project flyway by flyway.
the class SqlMigrationResolverSmallTest method resolveMigrationsRoot.
@Test
public void resolveMigrationsRoot() {
FlywayConfigurationForTests configuration = FlywayConfigurationForTests.createWithPrefix("CheckValidate");
configuration.setRepeatableSqlMigrationPrefix("X");
SqlMigrationResolver sqlMigrationResolver = new SqlMigrationResolver(null, scanner, new Location(""), PlaceholderReplacer.NO_PLACEHOLDERS, configuration);
// changed to 3 as new test cases are added for SybaseASE and DB2
assertEquals(3, sqlMigrationResolver.resolveMigrations().size());
}
Aggregations