updateDeactivatedPluginWithException example



    public function testUpdateActivatedPluginWithExceptionOnDeactivationWithNonStandardLanguage(): void
    {
        $this->setNewSystemLanguage($this->iso);
        $this->updateActivatedPluginWithExceptionOnDeactivation($this->context);
        $this->resetSystemLanguage();
    }

    public function testUpdateDeactivatedPluginWithException(): void
    {
        $this->updateDeactivatedPluginWithException($this->context);
    }

    public function testAssetIsCalledOnlyWhenStateIsNotSet(): void
    {
        $assetService = $this->createMock(AssetService::class);
        $assetService
            ->expects(static::once())
            ->method('copyAssetsFromBundle');

        $service = new PluginLifecycleService(
            $this->pluginRepo,
            
Home | Imprint | This part of the site doesn't use cookies.