summaryrefslogtreecommitdiffstats
path: root/tests/Parser/UpdateStatementTest.php
blob: 210e1ab70aa0a83358917beda1395f71389e412b (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
<?php

namespace PhpMyAdmin\SqlParser\Tests\Parser;

use PhpMyAdmin\SqlParser\Tests\TestCase;

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

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