public function tearDown()
 {
     if (!empty($this->tmpFile)) {
         unlink($this->tmpFile);
     }
     parent::tearDown();
 }
Пример #2
0
 public function tearDown()
 {
     parent::tearDown();
     if ($this->tmpPath !== false) {
         unlink($this->tmpPath);
     }
 }
Пример #3
0
 public function tearDown()
 {
     global $wgApiAccess, $wgApiEnvironment;
     $wgApiAccess = $this->org_wgApiAccess;
     $wgApiEnvironment = $this->org_wgApiEnvironment;
     parent::tearDown();
 }
Пример #4
0
 function tearDown()
 {
     global $wgDevelEnvironment, $wgDevelEnvironmentName;
     $wgDevelEnvironment = $this->wgDevelEnv;
     $wgDevelEnvironmentName = $this->wgDevelEnvName;
     parent::tearDown();
 }
Пример #5
0
 public function tearDown()
 {
     parent::tearDown();
     global $wgStagingList;
     $wgStagingList = $this->org_StagingList;
     if (!empty($this->serverName)) {
         $_SERVER['SERVER_NAME'] = $this->serverName;
     }
 }
Пример #6
0
 function tearDown()
 {
     parent::tearDown();
     $_SERVER = $this->serverOriginal;
 }
Пример #7
0
 public function tearDown()
 {
     global $wgDevelEnvironment;
     $wgDevelEnvironment = $this->org_wgDevelEnvironment;
     parent::tearDown();
 }
Пример #8
0
 public function tearDown()
 {
     @unlink($this->tmpFile);
     parent::tearDown();
 }
Пример #9
0
 protected function tearDown()
 {
     // we use libxml only for tests here
     libxml_clear_errors();
     parent::tearDown();
 }
Пример #10
0
 public function tearDown()
 {
     parent::tearDown();
     global $wgCommandLineSilentMode;
     $wgCommandLineSilentMode = $this->silentMode;
 }
 public function tearDown()
 {
     parent::tearDown();
 }
 public function tearDown()
 {
     parent::tearDown();
     $this->app->wg->Out->mScripts = $this->wgOutmScriptsCached;
     $this->wgOutmScriptsCached = '';
 }
Пример #13
0
 public function tearDown()
 {
     global $wgHooks;
     $wgHooks = $this->oldWgHooks;
     parent::tearDown();
 }
 public function tearDown()
 {
     parent::tearDown();
     global $wgUser;
     $wgUser = $this->backupUser;
 }
Пример #15
0
 protected function tearDown()
 {
     global $wgCityId;
     $wgCityId = $this->wgCityId;
     parent::tearDown();
 }
Пример #16
0
 protected function tearDown()
 {
     global $wgUser;
     parent::tearDown();
     // restore $wgUser
     $wgUser = $this->origUser;
 }
Пример #17
0
 public function tearDown()
 {
     if (!empty($this->program)) {
         $this->program->delete();
     }
     parent::tearDown();
 }