diff --git a/src/Finder/OldToNewFilesFinder.php b/src/Finder/OldToNewFilesFinder.php index f60c0536..71c95293 100644 --- a/src/Finder/OldToNewFilesFinder.php +++ b/src/Finder/OldToNewFilesFinder.php @@ -8,6 +8,9 @@ use Symplify\VendorPatches\Composer\PackageNameResolver; use Symplify\VendorPatches\ValueObject\OldAndNewFile; +/** + * @see \Symplify\VendorPatches\Tests\Finder\OldToNewFilesFinderTest + */ final class OldToNewFilesFinder { public function __construct( diff --git a/tests/Finder/VendorFilesFinderSource/Vendor/some/package/composer.json b/tests/Finder/Fixture/Vendor/some/package/composer.json similarity index 100% rename from tests/Finder/VendorFilesFinderSource/Vendor/some/package/composer.json rename to tests/Finder/Fixture/Vendor/some/package/composer.json diff --git a/tests/Finder/VendorFilesFinderSource/Vendor/some/package/src/PackageClass.php b/tests/Finder/Fixture/Vendor/some/package/src/PackageClass.php similarity index 100% rename from tests/Finder/VendorFilesFinderSource/Vendor/some/package/src/PackageClass.php rename to tests/Finder/Fixture/Vendor/some/package/src/PackageClass.php diff --git a/tests/Finder/VendorFilesFinderSource/Vendor/some/package/src/PackageClass.php.old b/tests/Finder/Fixture/Vendor/some/package/src/PackageClass.php.old similarity index 100% rename from tests/Finder/VendorFilesFinderSource/Vendor/some/package/src/PackageClass.php.old rename to tests/Finder/Fixture/Vendor/some/package/src/PackageClass.php.old diff --git a/tests/Finder/VendorFilesFinderSource/Vendor/some/package/src/PackageXml.xml b/tests/Finder/Fixture/Vendor/some/package/src/PackageXml.xml similarity index 100% rename from tests/Finder/VendorFilesFinderSource/Vendor/some/package/src/PackageXml.xml rename to tests/Finder/Fixture/Vendor/some/package/src/PackageXml.xml diff --git a/tests/Finder/VendorFilesFinderSource/Vendor/some/package/src/PackageXml.xml.old b/tests/Finder/Fixture/Vendor/some/package/src/PackageXml.xml.old similarity index 100% rename from tests/Finder/VendorFilesFinderSource/Vendor/some/package/src/PackageXml.xml.old rename to tests/Finder/Fixture/Vendor/some/package/src/PackageXml.xml.old diff --git a/tests/Finder/VendorFilesFinderSource/some_file.txt b/tests/Finder/Fixture/some_file.txt similarity index 100% rename from tests/Finder/VendorFilesFinderSource/some_file.txt rename to tests/Finder/Fixture/some_file.txt diff --git a/tests/Finder/VendorFilesFinderTest.php b/tests/Finder/OldToNewFilesFinderTest.php similarity index 71% rename from tests/Finder/VendorFilesFinderTest.php rename to tests/Finder/OldToNewFilesFinderTest.php index d7418306..6b961b92 100644 --- a/tests/Finder/VendorFilesFinderTest.php +++ b/tests/Finder/OldToNewFilesFinderTest.php @@ -7,13 +7,13 @@ use Symplify\VendorPatches\Finder\OldToNewFilesFinder; use Symplify\VendorPatches\Tests\AbstractTestCase; -final class VendorFilesFinderTest extends AbstractTestCase +final class OldToNewFilesFinderTest extends AbstractTestCase { public function test(): void { $oldToNewFilesFinder = $this->make(OldToNewFilesFinder::class); - $files = $oldToNewFilesFinder->find(__DIR__ . '/VendorFilesFinderSource'); + $files = $oldToNewFilesFinder->find(__DIR__ . '/Fixture'); $this->assertCount(2, $files); } }