+ 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 TransactionStatementTest extends TestCase
|
||||
{
|
||||
/**
|
||||
* @param mixed $test
|
||||
*
|
||||
* @dataProvider transactionProvider
|
||||
*/
|
||||
public function testTransaction($test): void
|
||||
{
|
||||
$this->runParserTest($test);
|
||||
}
|
||||
|
||||
public function transactionProvider(): array
|
||||
{
|
||||
return [
|
||||
['parser/parseTransaction'],
|
||||
['parser/parseTransaction2'],
|
||||
['parser/parseTransaction3'],
|
||||
['parser/parseTransactionErr1'],
|
||||
];
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user