public function tearDown() { eZContentLanguage::removeLanguage( 'nno-NO' ); eZContentLanguage::removeLanguage( 'dan-DK' ); parent::tearDown(); }
public function tearDown() { $this->userObject = null; $this->userEmail = null; $this->userLogin = null; parent::tearDown(); }
public function tearDown() { eZPolicyLimitation::removeByID($this->policy->attribute('id')); eZPolicy::removeByID($this->policy->attribute('id')); $this->policy = null; parent::tearDown(); }
public function tearDown() { $this->testURI = null; $this->postParams = array(); ezpINIHelper::restoreINISettings(); parent::tearDown(); }
/** * Called by PHPUnit after each test. */ public function tearDown() { // Log in as whoever was logged in eZUser::setCurrentlyLoggedInUser( $this->currentUser, $this->currentUser->attribute( 'id' ) ); parent::tearDown(); }
/** * Test case teardown * Restores the INI settings changed in setUp */ public function tearDown() { eZDB::instance()->query('DELETE FROM ezurlwildcard'); eZURLWildcard::expireCache(); clearstatcache(); sleep(1); parent::tearDown(); }
/** * Test case teardown */ public function tearDown() { eZURLWildcard::removeByIDs(array($this->wildcard->attribute('id'))); eZURLWildcard::expireCache(); clearstatcache(); sleep(1); parent::tearDown(); }
/** * tearDown(): * - deletes the admin PAEX object if it still exists **/ public function tearDown() { parent::tearDown(); // remove the PAEX object if it hasn't been removed by the test if (eZPaEx::fetch($this->paex->attribute('contentobject_id'))) { eZPaEx::removePaex($this->paex->attribute('contentobject_id')); } }
/** * Test case teardown * Restores the INI settings changed in setUp **/ public function tearDown() { $ini = eZINI::instance('site.ini'); $ini->setVariable('DatabaseSettings', 'DatabaseImplementation', $this->iniBackup['implementationBackup']); $ini->setVariable('DatabaseSettings', 'Server', $this->iniBackup['serverBackup']); $ini->setVariable('DatabaseSettings', 'Database', $this->iniBackup['databaseBackup']); parent::tearDown(); }
public function tearDown() { if ($this->object !== null) { $this->destroyObject(); } eZContentClassOperations::remove($this->class->id); parent::tearDown(); }
public function tearDown() { if ($this->language instanceof eZContentLanguage) { if (!$this->language->removeThis()) { trigger_error('Could not remove language nor-NO, probably still existing content / class in this language!'); } } parent::tearDown(); }
public function tearDown() { $this->fileAttribute = null; $this->imageObject->remove(); $this->imageObject = null; eZContentClassOperations::remove($this->imageClass->id); $this->imageClass = null; parent::tearDown(); }
public function tearDown() { // Remove trigger eZTrigger::removeTriggerForWorkflow($this->workflow->attribute('id')); // Log in as whoever was logged in eZUser::setCurrentlyLoggedInUser($this->currentUser, $this->currentUser->attribute('id')); // Important that the parent method is run AFTER changes are done to the database. parent::tearDown(); }
public function tearDown() { $this->solrSearch->removeObject($this->object->object); $this->object->remove(); $this->object = null; $this->solrSearch = null; ezpINIHelper::restoreINISettings(); parent::tearDown(); }
public function tearDown() { $nor = eZContentLanguage::fetchByLocale('nno-NO'); $dan = eZContentLanguage::fetchByLocale('dan-DK'); if ($nor) { $nor->removeThis(); } if ($dan) { $dan->removeThis(); } parent::tearDown(); }
public function tearDown() { $this->folder->remove(); $this->article->remove(); eZPendingActions::removeByAction('index_object'); $this->nodeIds = array(); $this->objectIds = array(); $anonymousUser = eZUser::fetchByName('anonymous'); eZUser::setCurrentlyLoggedInUser($anonymousUser, $anonymousUser->attribute('contentobject_id')); eZContentLanguage::expireCache(); parent::tearDown(); }
public function tearDown() { eZContentObject::clearCache(); parent::tearDown(); }
public function tearDown() { eZSys::setServerVariable('HTTP_HOST', $this->httpHost); parent::tearDown(); }
public function tearDown() { // restore the previous file handler if ($this->previousFileHandler !== null) { $fileINI = eZINI::instance('file.ini'); $fileINI->setVariable('ClusteringSettings', 'FileHandler', $this->previousFileHandler); $this->previousFileHandler = null; if (isset($GLOBALS['eZClusterFileHandler_chosen_handler'])) { unset($GLOBALS['eZClusterFileHandler_chosen_handler']); } } if ($this->haveToRemoveDFSPath) { eZDir::recursiveDelete($this->DFSPath); } parent::tearDown(); }
public function tearDown() { if (self::ldapIsEnabled()) { $this->mainGroup->remove(); } parent::tearDown(); }
public function tearDown() { eZUser::setCurrentlyLoggedInUser(eZUser::fetch(self::$previousUserID), self::$previousUserID); parent::tearDown(); }
public function tearDown() { $this->norskLanguage->removeThis(); $this->frenchLanguage->removeThis(); parent::tearDown(); }
public function tearDown() { $GLOBALS['eZTextCodecInternalCharsetReal'] = $this->charset; eZContentLanguage::removeLanguage($this->language->ID); parent::tearDown(); }
public function tearDown() { unset( $this->tpl ); parent::tearDown(); }
public function tearDown() { $this->solrSearch->removeObject($this->testObj); ezpINIHelper::restoreINISettings(); parent::tearDown(); }
public function tearDown() { ezpINIHelper::restoreINISettings(); parent::tearDown(); }
public function tearDown() { eZUser::purgeUserCacheByUserId($this->userId); eZDir::cleanupEmptyDirectories(eZUser::getCacheDir($this->userId)); parent::tearDown(); }
public function tearDown() { parent::tearDown(); }
public function tearDown() { eZContentClassOperations::remove($this->class->id); parent::tearDown(); }
public function tearDown() { $this->article->remove(); parent::tearDown(); }