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

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

Tests Postgresql::dropTable
С версии: 2016-09-30
Автор: Serghei Iakovlev ([email protected])
public testDropTable ( )
    public function testDropTable()
    {
        $this->specify('The SQL generated to drop a table is invalid', function ($schema, $ifExists, $expected) {
            $dialect = new Postgresql();
            expect($dialect->dropTable('table', $schema, $ifExists))->equals($expected);
        }, ['examples' => $this->getDropTable()]);
    }