diff --git a/src/LegacyThumbnailMigrationHelper.php b/src/Dev/Tasks/LegacyThumbnailMigrationHelper.php similarity index 98% rename from src/LegacyThumbnailMigrationHelper.php rename to src/Dev/Tasks/LegacyThumbnailMigrationHelper.php index f8df1a1b..aa3dbcba 100644 --- a/src/LegacyThumbnailMigrationHelper.php +++ b/src/Dev/Tasks/LegacyThumbnailMigrationHelper.php @@ -1,11 +1,12 @@ joinPaths(__DIR__, 'ImageTest/test-image-low-quality.jpg'); + $from = $this->joinPaths(__DIR__, '../../ImageTest/test-image-low-quality.jpg'); foreach (File::get()->exclude('ClassName', Folder::class) as $file) { /** @var $file File */ $file->setFromLocalFile($from, $file->generateFilename()); diff --git a/tests/php/LegacyThumbnailMigrationHelperTest.yml b/tests/php/Dev/Tasks/LegacyThumbnailMigrationHelperTest.yml similarity index 100% rename from tests/php/LegacyThumbnailMigrationHelperTest.yml rename to tests/php/Dev/Tasks/LegacyThumbnailMigrationHelperTest.yml