propagate(new DisableBRSinTestAuthoring())([]); } /** * @throws Error * @throws InvalidServiceManagerException * @throws ExtensionException */ public function down(Schema $schema): void { /** @var ExtensionsManager $extensionManager */ $extensionManager = $this->getServiceManager()->get(ExtensionsManager::SERVICE_ID); $extension = $extensionManager->getExtensionById('tao'); $config = $extension->getConfig('client_lib_config_registry'); unset($config['taoQtiTest/controller/creator/views/item']); $extension->setConfig('client_lib_config_registry', $config); } }