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

testListViews() public method

Tests Postgresql::listViews
Since: 2016-09-30
Author: Serghei Iakovlev ([email protected])
public testListViews ( )
    public function testListViews()
    {
        $this->specify('The SQL generated to list all views of a schema or user is incorrect', function ($schema, $expected) {
            $dialect = new Postgresql();
            expect($dialect->listViews($schema))->equals($expected);
        }, ['examples' => $this->getListViews()]);
    }