propagate(new RegisterTestPreviewerRegistryService())([]); $this->propagate(new SetupProvider())([]); } /** * @param Schema $schema * * @throws Error * @throws InvalidServiceManagerException * @throws ExtensionException */ public function down(Schema $schema): void { $serviceManager = $this->getServiceManager(); $serviceManager->unregister(TestPreviewerRegistryServiceInterface::SERVICE_ID); /** @var ExtensionsManager $extensionManager */ $extensionManager = $serviceManager->get(ExtensionsManager::SERVICE_ID); $extension = $extensionManager->getExtensionById('tao'); $config = $extension->getConfig('client_lib_config_registry'); unset($config['taoTests/controller/tests/action']); $extension->setConfig('client_lib_config_registry', $config); } }