use of org.flywaydb.core.internal.resolver.spring.dummy.Version3dot5 in project flyway by flyway.
the class SpringJdbcMigrationResolverSmallTest method explicitInfo.
@Test
public void explicitInfo() {
SpringJdbcMigrationResolver springJdbcMigrationResolver = new SpringJdbcMigrationResolver(scanner, null, null);
ResolvedMigration migrationInfo = springJdbcMigrationResolver.extractMigrationInfo(new Version3dot5());
assertEquals("3.5", migrationInfo.getVersion().toString());
assertEquals("Three Dot Five", migrationInfo.getDescription());
assertEquals(35, migrationInfo.getChecksum().intValue());
}
Aggregations