/** * Prepares the environment before running a test. */ protected function setUp() { parent::setUp(); // session begin $this->restoreNamespace = new Zend_Session_Namespace(self::RESTORE_NAME_SPACE); $this->restoreNamespace->setExpirationSeconds($this->ttl_restore_session); Zend_Session::rememberMe($this->ttl_restore_session); // запоминаем данные в сессии $this->restoreNamespace->typeRestore = 'restore'; $this->restoreNamespace->JobId = $this->jobid; $this->restoreNamespace->JobHash = md5($this->jobid); $this->WbTmpTable = new WbTmpTable(md5($this->jobid), $this->ttl_restore_session); }
public function setUp() { parent::setUp(); }
public function setUp() { $modelTest = new ModelTestCase(); $modelTest->setUp(); $this->doctrineContainer = $modelTest->doctrineContainer; }
/** * Prepares the environment before running a test. */ protected function setUp() { parent::setUp(); }