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

testRollbackSavepoint() public method

Tests Postgresql::rollbackSavepoint
Since: 2016-09-30
Author: Serghei Iakovlev ([email protected])
    public function testRollbackSavepoint()
    {
        $this->specify('The SQL generated to rollback a savepoint is incorrect', function () {
            $dialect = new Postgresql();
            expect($dialect->rollbackSavepoint('PH_SAVEPOINT_1'))->equals('ROLLBACK TO SAVEPOINT PH_SAVEPOINT_1');
        });
    }