FIX: MysqlGenerateMigrationTest now clears pendingDrops System-Property

This commit is contained in:
Jonas Pöhler
2021-11-26 15:58:20 +01:00
parent 3fe521c53a
commit b60f9201a9
@@ -5,6 +5,8 @@ import io.ebean.DatabaseFactory;
import io.ebean.annotation.Platform;
import io.ebean.config.DatabaseConfig;
import io.ebean.config.PlatformConfig;
import org.junit.jupiter.api.AfterEach;
import org.junit.jupiter.api.Test;
import java.io.File;
@@ -22,6 +24,11 @@ import static org.assertj.core.api.Assertions.assertThat;
*/
public class MysqlGenerateMigrationTest {
@AfterEach
public void resetPendingDropsProperty() {
System.clearProperty("ddl.migration.pendingDropsFor");
}
@Test
public void testMysqlStoredProcedures() throws Exception {
DefaultDbMigration migration = new DefaultDbMigration();