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

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

Tests Postgresql::modifyColumn
С версии: 2016-09-30
Автор: Serghei Iakovlev ([email protected])
public testModifyColumn ( )
    public function testModifyColumn()
    {
        $this->specify('The SQL generated to modify a column in a table is invalid', function ($schema, $to, $fom, $expected) {
            $dialect = new Postgresql();
            $columns = $this->getColumns();
            expect($dialect->modifyColumn('table', $schema, $columns[$to], $columns[$fom]))->equals($expected);
        }, ['examples' => $this->getModifyColumn()]);
    }