Phalcon\Test\Unit\Db\Dialect\PostgresqlTest::testDropColumn PHP Method

testDropColumn() public method

Tests Postgresql::dropColumn
Since: 2016-09-30
Author: Serghei Iakovlev ([email protected])
public testDropColumn ( )
    public function testDropColumn()
    {
        $this->specify('The SQL generated to delete a column from a table is invalid', function ($schema, $column, $expected) {
            $dialect = new Postgresql();
            expect($dialect->dropColumn('table', $schema, $column))->equals($expected);
        }, ['examples' => $this->getDropColumn()]);
    }