diff --git a/dbmigration/sourceTest/java/ch/systemsx/cisd/dbmigration/java/MigrationStepExecutorTest.java b/dbmigration/sourceTest/java/ch/systemsx/cisd/dbmigration/java/MigrationStepExecutorTest.java index f0488d111aa8e85f6a319e07523a1d6ae1488dd6..26610b3b0d4fa50b186502014c82b8af6114ede3 100644 --- a/dbmigration/sourceTest/java/ch/systemsx/cisd/dbmigration/java/MigrationStepExecutorTest.java +++ b/dbmigration/sourceTest/java/ch/systemsx/cisd/dbmigration/java/MigrationStepExecutorTest.java @@ -34,6 +34,7 @@ import ch.systemsx.cisd.base.exceptions.CheckedExceptionTunnel; import ch.systemsx.cisd.common.Script; import ch.systemsx.cisd.common.logging.BufferedAppender; import ch.systemsx.cisd.common.logging.LogInitializer; +import ch.systemsx.cisd.common.test.AssertionUtil; import ch.systemsx.cisd.dbmigration.DatabaseConfigurationContext; /** @@ -82,7 +83,7 @@ public final class MigrationStepExecutorTest new Script("001To002.sql", "\n\n \n" + "--JAVA ch.systemsx.cisd.dbmigration.java.MigrationStepFrom001To002"); migrationStepExecutor.init(script); - assertEquals("Migration step class 'MigrationStepFrom001To002' found for " + AssertionUtil.assertEnds("Migration step class 'MigrationStepFrom001To002' found for " + "migration script '001To002.sql'.", logRecorder.getLogContent()); } @@ -130,7 +131,7 @@ public final class MigrationStepExecutorTest migrationStepExecutor.performPostMigration(); assertTrue(MigrationStepAdminFrom001To002.instance.postMigrationPerformed); migrationStepExecutor.finish(); - assertEquals("Migration step class 'MigrationStepAdminFrom001To002' found for " + AssertionUtil.assertEnds("Migration step class 'MigrationStepAdminFrom001To002' found for " + "migration script '001To002.sql'.", logRecorder.getLogContent()); assertSame(dbContext.getAdminDataSource(), migrationStepExecutor.getDataSource()); logRecorder.resetLogContent();