Phalcon\Test\Unit\Db\Dialect\PostgresqlTest::testCreateView PHP 메소드

testCreateView() 공개 메소드

Tests Postgresql::createView
부터: 2016-09-30
저자: Serghei Iakovlev ([email protected])
public testCreateView ( )
    public function testCreateView()
    {
        $this->specify('The SQL generated to create a view is incorrect', function ($definition, $schema, $expected) {
            $dialect = new Postgresql();
            expect($dialect->createView('test_view', $definition, $schema))->equals($expected);
        }, ['examples' => $this->getCreateView()]);
    }