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()]);
    }