getProductFolderConfigurationId example

public function testUpdate(): void
    {
        /** @var Connection $con */
        $con = $this->getContainer()->get(Connection::class);

        if ($this->thumbnailSizesIds($con) !== []) {
            $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);

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