Skip to content

Commit

Permalink
Update RectorTest.php
Browse files Browse the repository at this point in the history
  • Loading branch information
danharrin committed Feb 26, 2024
1 parent 359ebb0 commit 060dd04
Showing 1 changed file with 23 additions and 23 deletions.
46 changes: 23 additions & 23 deletions tests/src/Upgrade/RectorTest.php
Original file line number Diff line number Diff line change
@@ -1,25 +1,25 @@
<?php

namespace Filament\Tests\Upgrade;

use Iterator;
use Rector\Testing\PHPUnit\AbstractRectorTestCase;

class RectorTest extends AbstractRectorTestCase
{
/** @dataProvider provideData */
public function test(string $filePath): void
{
$this->doTestFile($filePath);
}

public static function provideData(): Iterator
{
// return self::yieldFilesFromDirectory(__DIR__ . '/Fixture');
}

public function provideConfigFilePath(): string
{
return __DIR__ . '/../../../packages/upgrade/src/rector.php';
}
}
// namespace Filament\Tests\Upgrade;
//
// use Iterator;
// use Rector\Testing\PHPUnit\AbstractRectorTestCase;
//
// class RectorTest extends AbstractRectorTestCase
// {
// /** @dataProvider provideData */
// public function test(string $filePath): void
// {
// $this->doTestFile($filePath);
// }
//
// public static function provideData(): Iterator
// {
// return self::yieldFilesFromDirectory(__DIR__ . '/Fixture');
// }
//
// public function provideConfigFilePath(): string
// {
// return __DIR__ . '/../../../packages/upgrade/src/rector.php';
// }
// }

0 comments on commit 060dd04

Please sign in to comment.