Cleanup JUnit test.
@@ -63,29 +63,4 @@ public class DropColumnTest extends BaseTest {
}
-
- /*
- executeSql("create table PARENT (PID bigint not null, TEXTCOL varchar(255), primary key (PID))");
- executeSql("create table CHILD (PID bigint not null, PARENTREF bigint)");
- executeSql("alter table CHILD add constraint FK_MOM foreign key (PARENTREF) references PARENT(PID)");
-
- assertThat(JdbcUtils.getForeignKeys(getConnectionProperties(), "PARENT", "CHILD"), hasSize(1));
-
- assertThat(JdbcUtils.getForeignKeysForColumn(getConnectionProperties(), "PARENTREF", "CHILD"), containsInAnyOrder("FK_MOM"));
-
- DropForeignKeyTask task = new DropForeignKeyTask("1", "1");
- task.setTableName("CHILD");
- task.setParentTableName("PARENT");
- task.setConstraintName("FK_MOM");
- getMigrator().addTask(task);
-
- getMigrator().migrate();
-
- assertThat(JdbcUtils.getForeignKeys(getConnectionProperties(), "PARENT", "CHILD"), empty());
-
- // Make sure additional calls don't crash
- getMigrator().migrate();
- getMigrator().migrate();
-
- */
}
