summaryrefslogtreecommitdiffstats
path: root/tests/Misc/BugsTest.php
blob: a46786916321a8f730c0db1aee9766808d226264 (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
30
31
32
33
<?php
declare(strict_types=1);

namespace PhpMyAdmin\SqlParser\Tests\Misc;

use PhpMyAdmin\SqlParser\Tests\TestCase;

class BugsTest extends TestCase
{
    /**
     * @param mixed $test
     *
     * @dataProvider bugProvider
     */
    public function testBug($test)
    {
        $this->runParserTest($test);
    }

    public function bugProvider()
    {
        return [
            ['bugs/gh9'],
            ['bugs/gh14'],
            ['bugs/gh16'],
            ['bugs/pma11800'],
            ['bugs/pma11836'],
            ['bugs/pma11843'],
            ['bugs/pma11867'],
            ['bugs/pma11879'],
        ];
    }
}