Passed
Pull Request — master (#311)
by William
12:43
created

TransactionStatementTest::transactionProvider()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 7
Code Lines 5

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 5
c 0
b 0
f 0
nc 1
nop 0
dl 0
loc 7
rs 10
1
<?php
2
3
namespace PhpMyAdmin\SqlParser\Tests\Parser;
4
5
use PhpMyAdmin\SqlParser\Tests\TestCase;
6
7
class TransactionStatementTest extends TestCase
8
{
9
    /**
10
     * @dataProvider transactionProvider
11
     *
12
     * @param mixed $test
13
     */
14
    public function testTransaction($test)
15
    {
16
        $this->runParserTest($test);
17
    }
18
19
    public function transactionProvider()
20
    {
21
        return array(
22
            array('parser/parseTransaction'),
23
            array('parser/parseTransaction2'),
24
            array('parser/parseTransaction3'),
25
            array('parser/parseTransactionErr1')
26
        );
27
    }
28
}
29