mirror of
https://github.com/rectorphp/rector.git
synced 2025-02-24 11:44:14 +01:00
30 lines
615 B
PHP
30 lines
615 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace Rector\MysqlToMysqli\Tests;
|
|
|
|
use Iterator;
|
|
use Rector\Core\Testing\PHPUnit\AbstractRectorTestCase;
|
|
|
|
final class SetTest extends AbstractRectorTestCase
|
|
{
|
|
/**
|
|
* @dataProvider provideData()
|
|
*/
|
|
public function test(string $file): void
|
|
{
|
|
$this->doTestFile($file);
|
|
}
|
|
|
|
public function provideData(): Iterator
|
|
{
|
|
return $this->yieldFilesFromDirectory(__DIR__ . '/Fixture');
|
|
}
|
|
|
|
protected function provideConfig(): string
|
|
{
|
|
return __DIR__ . '/../../../config/set/database-migration/mysql-to-mysqli.yaml';
|
|
}
|
|
}
|