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

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

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