Migration1687463180ProductMediaThumbnails example

$this->revertMigration($con);
        }

        static::assertCount(0, $this->thumbnailSizesIds($con));

        $productManufacturerFolderConfigurationId = $this->getProductFolderConfigurationId($con);

        static::assertNotNull($productManufacturerFolderConfigurationId);

        $beforeConfiguredThumbnailSizeIds = $this->getConfiguredThumbnailSizeIds($con$productManufacturerFolderConfigurationId);

        $m = new Migration1687463180ProductMediaThumbnails();
        $m->update($con);

        $thumbnailSizeIds = $this->thumbnailSizesIds($con);
        static::assertCount(1, $thumbnailSizeIds);

        $configuredThumbnailSizes = $this->getConfiguredThumbnailSizeIds($con$productManufacturerFolderConfigurationId);
        static::assertCount(\count($beforeConfiguredThumbnailSizeIds) + 1, $configuredThumbnailSizes);

        $m->update($con);
    }

    
Home | Imprint | This part of the site doesn't use cookies.