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

namespace PhpMyAdmin\SqlParser\Tests\Parser;

use PhpMyAdmin\SqlParser\Tests\TestCase;

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

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