コード例 #1
0
ファイル: WbTmpTableTest.php プロジェクト: staser/webacula
 /**
  * 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);
 }
コード例 #2
0
 public function setUp()
 {
     parent::setUp();
 }
コード例 #3
0
 public function setUp()
 {
     $modelTest = new ModelTestCase();
     $modelTest->setUp();
     $this->doctrineContainer = $modelTest->doctrineContainer;
 }
コード例 #4
0
ファイル: JobTest.php プロジェクト: staser/webacula
 /**
  * Prepares the environment before running a test.
  */
 protected function setUp()
 {
     parent::setUp();
 }