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

testCreateTable() public method

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