/** * @depends testDropColumn */ public function testDropColumnRemoveIndexDuplicate() { $this->_connection->dropColumn($this->_tableName, 'column2'); $this->assertEquals(['column1'], $this->_getIndexColumns($this->_tableName, $this->_oneColumnIdxName), 'Column index must be preserved.'); $this->assertFalse($this->_getIndexColumns($this->_tableName, $this->_twoColumnIdxName), 'Multiple-column index must be dropped to not duplicate existing index by indexed columns.'); }