protected function tearDown() { $this->pageDeleter->doDeletePoolOfPages($this->deletePoolOfPages); $this->applicationFactory->clear(); $this->mwHooksHandler->restoreListedHooks(); parent::tearDown(); }
protected function tearDown() { foreach ($this->subjectsToBeCleared as $subject) { $this->getStore()->deleteSubject($subject->getTitle()); } parent::tearDown(); }
protected function tearDown() { ApplicationFactory::getInstance()->clear(); $pageDeleter = UtilityFactory::getInstance()->newPageDeleter(); $pageDeleter->doDeletePoolOfPages($this->importedTitles); parent::tearDown(); }
protected function tearDown() { $pageDeleter = UtilityFactory::getInstance()->newPageDeleter(); $pageDeleter->doDeletePoolOfPages($this->subjects); $this->mwHooksHandler->restoreListedHooks(); parent::tearDown(); }
protected function tearDown() { $GLOBALS['wgEnableUploads'] = $this->wgEnableUploads; $GLOBALS['wgFileExtensions'] = $this->wgFileExtensions; $GLOBALS['wgVerifyMimeType'] = $this->wgVerifyMimeType; parent::tearDown(); }
protected function tearDown() { $pageDeleter = new PageDeleter(); foreach ($this->titles as $title) { $pageDeleter->deletePage($title); } parent::tearDown(); }
protected function tearDown() { if ($this->deletePagesOnTearDown) { $this->testEnvironment->flushPages($this->itemsMarkedForDeletion); } $this->testEnvironment->tearDown(); parent::tearDown(); }
public function tearDown() { $this->applicationFactory->clear(); $this->mwHooksHandler->restoreListedHooks(); $this->testEnvironment->flushPages(array($this->title)); $this->testEnvironment->tearDown(); parent::tearDown(); }
protected function tearDown() { if ($this->deleteAfterState) { UtilityFactory::getInstance()->newPageDeleter()->doDeletePoolOfPages($this->itemsMarkedForDeletion); } $this->restoreSettingsBeforeLocalChange(); parent::tearDown(); }
public function tearDown() { $this->mwHooksHandler->restoreListedHooks(); if ($this->title !== null) { $this->pageDeleter->deletePage($this->title); } parent::tearDown(); }
protected function tearDown() { $this->mwHooksHandler->restoreListedHooks(); $GLOBALS['wgEnableUploads'] = $this->wgEnableUploads; $GLOBALS['wgFileExtensions'] = $this->wgFileExtensions; $GLOBALS['wgVerifyMimeType'] = $this->wgVerifyMimeType; parent::tearDown(); }
protected function tearDown() { $fixturesCleaner = UtilityFactory::getInstance()->newFixturesFactory()->newFixturesCleaner(); $fixturesCleaner->purgeAllKnownFacts()->purgeSubjects($this->subjects); parent::tearDown(); }
protected function tearDown() { parent::tearDown(); }
protected function tearDown() { $this->applicationFactory->clear(); $this->mwHooksHandler->restoreListedHooks(); parent::tearDown(); }
protected function tearDown() { UtilityFactory::getInstance()->newPageDeleter()->doDeletePoolOfPages($this->subjects); unset($GLOBALS['wgHooks']['InterwikiLoadPrefix']); parent::tearDown(); }
protected function tearDown() { UtilityFactory::getInstance()->newPageDeleter()->doDeletePoolOfPages($this->subjects); $GLOBALS['smwgNamespace'] = $this->smwgNamespace; parent::tearDown(); }
protected function tearDown() { $pageDeleter = UtilityFactory::getInstance()->newPageDeleter(); $pageDeleter->doDeletePoolOfPages($this->deletePoolOfPages); parent::tearDown(); }
protected function tearDown() { $this->testEnvironment->flushPages($this->importedTitles); parent::tearDown(); }
protected function tearDown() { $pageDeleter = new PageDeleter(); $pageDeleter->deletePage($this->title); parent::tearDown(); }
public function tearDown() { $this->mwHooksHandler->restoreListedHooks(); parent::tearDown(); }
protected function tearDown() { $this->testEnvironment->tearDown(); parent::tearDown(); }
protected function tearDown() { $this->mwHooksHandler->restoreListedHooks(); $this->testEnvironment->tearDown(); parent::tearDown(); }