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

testDropIndex() 공개 메소드

Tests Postgresql::dropIndex
부터: 2016-09-30
저자: Serghei Iakovlev ([email protected])
public testDropIndex ( )
    public function testDropIndex()
    {
        $this->specify('The SQL generated to delete an index from a table is incorrect', function ($schema, $index, $expected) {
            $dialect = new Postgresql();
            expect($dialect->dropIndex('table', $schema, $index))->equals($expected);
        }, ['examples' => $this->getDropIndex()]);
    }