protected function setUp() { MockManager::activateWebsiteSettingsMock(true); MockManager::activateModuleMock(true); MockManager::activatePackageMock(true); parent::setUp(); }
protected function tearDown() { $exportDirNames = array('Export_Test_Website_1_module_1306738492', 'test_export_0_modules', 'test_export_0_modules_album_id', 'Export_Test_Website_1_module_1306759604', 'Export_Test_Website_1_module_1306760005/', 'Export_Test_Website_1_module_1306760108', 'test_export_0_website'); foreach ($exportDirNames as $dirname) { $exportDir = \Seitenbau\Registry::getConfig()->export->directory . DIRECTORY_SEPARATOR . $dirname . DIRECTORY_SEPARATOR; $this->removeDir($exportDir); } parent::tearDown(); }
protected function setUp() { parent::setUp(); $this->config = Registry::getConfig(); $renderTestDir = $this->config->test->response->render->directory; $renderTestOutputDir = $this->config->test->output->response->render->directory; $this->testDirWithResultFiles = $renderTestDir; $this->testOutputDir = $renderTestOutputDir; }
protected function tearDown() { $exportDirNames = array('test_export_0_modules', 'test_export_0_modules_album_id', 'test_export_0_pages', 'test_export_0_templates', 'test_export_0_templates_with_album', 'test_export_0_templates_with_usergroup', 'test_export_0_website', 'test_export_0_website_with_album', 'Export_Test_Website_1_module_1306501297'); foreach ($exportDirNames as $dirname) { $exportDir = \Seitenbau\Registry::getConfig()->export->directory . DIRECTORY_SEPARATOR . $dirname . DIRECTORY_SEPARATOR; $this->removeDir($exportDir); } parent::tearDown(); }
protected function tearDown() { $this->clearFakeUpload(); $uploadDirNames = array('SITE-ra10e8ul-11af-46cd-a651-fc42dc78feue-SITE', 'SITE-ra10e8ul-11af-46cd-a651-fc42dc78fe50-SITE'); foreach ($uploadDirNames as $dirname) { $uploadDir = \Seitenbau\Registry::getConfig()->media->files->directory . DIRECTORY_SEPARATOR . $dirname . DIRECTORY_SEPARATOR; $this->removeDir($uploadDir); } parent::tearDown(); }
public function tearDown() { if (count($this->deleteFiles) > 0) { foreach ($this->deleteFiles as $file) { if (file_exists($file)) { unlink($file); } } } parent::tearDown(); }
protected function setUp() { parent::setUp(); $this->moduleService = new ModulService('Modul'); }
protected function tearDown() { $this->getDbHelper()->markAsDirty(); parent::tearDown(); }
protected function tearDown() { $this->deactivateGroupCheck(); parent::tearDown(); }
protected function setUp() { parent::setUp(); $this->userAttr = array('email' => '*****@*****.**', 'lastname' => 'last', 'firstname' => 'first', 'gender' => 'm', 'language' => 'en-US', 'password' => '****************', 'superuser' => false); }
protected function tearDown() { OptinTestHelper::clearMailsFromFileTransports($this->mailsFromFileTransportDirectory); parent::tearDown(); }
public function tearDown() { ModuleWriteableMock::tearDown(); parent::tearDown(); }
protected function setUp() { parent::setUp(); $this->userAttr = array('id' => 'USER-0a67e2c2-1175-45e9-bcbd-a25cee8a74c1-USER', 'email' => '*****@*****.**', 'lastname' => 'last', 'firstname' => 'first', 'gender' => 'm', 'language' => 'en-US', 'password' => '****************', 'superuser' => false); }
protected function tearDown() { DirectoryHelper::clearLatchDirectory(); parent::tearDown(); }
protected function tearDown() { $this->deleteFilesInOutputDir(); parent::tearDown(); }