public function testDropColumnByName() { $q = new AlterTableQuery('products'); $this->assertNotNull($q); $q->dropColumnByName('name'); $this->assertSqlStrings($q, [[new MySQLDriver(), 'ALTER TABLE `products` DROP COLUMN `name`']]); }