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

testDropView() public method

Tests Postgresql::dropView
Since: 2016-09-30
Author: Serghei Iakovlev ([email protected])
public testDropView ( )
    public function testDropView()
    {
        $this->specify('The SQL generated to drop a view is incorrect', function ($schema, $ifExists, $expected) {
            $dialect = new Postgresql();
            expect($dialect->dropView('test_view', $schema, $ifExists))->equals($expected);
        }, ['examples' => $this->getDropView()]);
    }