assertConfigIsDeleted example

->search(new Criteria(array_filter([$mediaFolderId]))$this->context)
            ->get($mediaFolderId);
        static::assertInstanceOf(MediaFolderEntity::class$mediaFolder);

        $configId = $mediaFolder->getConfigurationId();

        $this->mediaFolderService->dissolve($mediaFolderId$this->context);

        $this->assertMediaFolderIsDeleted($media);
        $this->assertMediaHasNoFolder($media);
        static::assertIsString($configId);
        $this->assertConfigIsDeleted($configId);
    }

    public function testDissolveChildToRootLevel(): void
    {
        $this->setFixtureContext($this->context);
        $media = $this->getJpgWithFolder();
        $childId = Uuid::randomHex();
        $configId = Uuid::randomHex();

        $this->mediaFolderRepo->create([
            [
                
Home | Imprint | This part of the site doesn't use cookies.