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

testDescribeColumns() public method

Tests Postgresql::describeColumns
Since: 2016-09-30
Author: Serghei Iakovlev ([email protected])
public testDescribeColumns ( )
    public function testDescribeColumns()
    {
        $this->specify('The SQL generated to describe a table is incorrect', function ($schema, $expected) {
            $dialect = new Postgresql();
            expect($dialect->describeColumns('table', $schema))->equals($expected);
        }, ['examples' => $this->getDescribeColumns()]);
    }