assertCmsAwareAndAdminUiIsUninstalled example

$this->pluginLifecycleService = $this->getContainer()->get(PluginLifecycleService::class);

        $this->languageRepository = $this->getContainer()->get('language.repository');
    }

    public function testCmsAwareAndAdminUiForApp(): void
    {
        $appEntity = $this->installAndActivateApp();
        $this->assertCmsAwareAndAdminUiIsInstalled($appEntity);

        $this->uninstallApp($appEntity);
        $this->assertCmsAwareAndAdminUiIsUninstalled();
    }

    public function testCmsAwareAndAdminUiForPlugin(): void
    {
        $pluginEntity = $this->installPlugin();
        $this->assertCmsAwareAndAdminUiIsInstalled($pluginEntity);

        $this->uninstallPlugin($pluginEntity);
        $this->assertCmsAwareAndAdminUiIsUninstalled();
    }

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