diff --git a/rules/autodiscovery/tests/Rector/FileSystem/MoveEntitiesToEntityDirectoryRector/Expected/ExpectedRandomEntity.php b/rules/autodiscovery/tests/Rector/FileSystem/MoveEntitiesToEntityDirectoryRector/Expected/ExpectedRandomEntity.php new file mode 100644 index 00000000000..495a569fc9b --- /dev/null +++ b/rules/autodiscovery/tests/Rector/FileSystem/MoveEntitiesToEntityDirectoryRector/Expected/ExpectedRandomEntity.php @@ -0,0 +1,15 @@ +doTestFile($originalFile); $this->assertFileExists($expectedFileLocation); - $this->assertFileEquals($expectedFileLocation, $expectedFileLocation); + $this->assertFileEquals($expectedFileContent, $expectedFileLocation); } public function provideData(): Iterator @@ -26,6 +26,7 @@ final class MoveEntitiesToEntityDirectoryRectorTest extends AbstractFileSystemRe yield [ __DIR__ . '/Source/Controller/RandomEntity.php', __DIR__ . '/Source/Entity/Fixture/RandomEntity.php', + __DIR__ . '/Expected/ExpectedRandomEntity.php', ]; }