Phalcon\Test\Unit\Db\Dialect\PostgresqlTest::testDropColumn PHP Метод

testDropColumn() публичный Метод

Tests Postgresql::dropColumn
С версии: 2016-09-30
Автор: 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()]);
    }