summaryrefslogtreecommitdiffstats
path: root/tests/Parser/TransactionStatementTest.php
blob: d0b99cb2943b5c39ee1bb320daad820712e9eadb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
<?php

namespace SqlParser\Tests\Parser;

use SqlParser\Tests\TestCase;

class TransactionStatementTest extends TestCase
{

    /**
     * @dataProvider testTransactionProvider
     */
    public function testTransaction($test)
    {
        $this->runParserTest($test);
    }

    public function testTransactionProvider()
    {
        return array(
            array('parser/parseTransaction'),
            array('parser/parseTransaction2'),
            array('parser/parseTransactionErr1'),
        );
    }
}