+ Add vendor of sqlparser.
This commit is contained in:
+30
@@ -0,0 +1,30 @@
|
||||
<?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): void
|
||||
{
|
||||
$this->runParserTest($test);
|
||||
}
|
||||
|
||||
public function updateProvider(): array
|
||||
{
|
||||
return [
|
||||
['parser/parseUpdate'],
|
||||
['parser/parseUpdate2'],
|
||||
['parser/parseUpdate3'],
|
||||
['parser/parseUpdateErr'],
|
||||
];
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user