summaryrefslogtreecommitdiffstats
path: root/tests/Parser/UpdateStatementTest.php
blob: 2ebb478643635d3438c799818c5109295f68632f (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
27
28
29
<?php
declare(strict_types=1);

namespace PhpMyAdmin\SqlParser\Tests\Parser;

use PhpMyAdmin\SqlParser\Tests\TestCase;

class UpdateStatementTest extends TestCase
{
    /**
     * @param mixed $test
     *
     * @dataProvider updateProvider
     */
    public function testUpdate($test)
    {
        $this->runParserTest($test);
    }

    public function updateProvider()
    {
        return [
            ['parser/parseUpdate'],
            ['parser/parseUpdate2'],
            ['parser/parseUpdate3'],
            ['parser/parseUpdateErr'],
        ];
    }
}