Ejemplo n.º 1
0
 public function tearDown()
 {
     if (!empty($this->tmpFile)) {
         unlink($this->tmpFile);
     }
     parent::tearDown();
 }
Ejemplo n.º 2
0
 public function tearDown()
 {
     parent::tearDown();
     if ($this->tmpPath !== false) {
         unlink($this->tmpPath);
     }
 }
Ejemplo n.º 3
0
 public function tearDown()
 {
     global $wgApiAccess, $wgApiEnvironment;
     $wgApiAccess = $this->org_wgApiAccess;
     $wgApiEnvironment = $this->org_wgApiEnvironment;
     parent::tearDown();
 }
Ejemplo n.º 4
0
 function tearDown()
 {
     global $wgDevelEnvironment, $wgDevelEnvironmentName;
     $wgDevelEnvironment = $this->wgDevelEnv;
     $wgDevelEnvironmentName = $this->wgDevelEnvName;
     parent::tearDown();
 }
Ejemplo n.º 5
0
 public function tearDown()
 {
     parent::tearDown();
     global $wgStagingList;
     $wgStagingList = $this->org_StagingList;
     if (!empty($this->serverName)) {
         $_SERVER['SERVER_NAME'] = $this->serverName;
     }
 }
Ejemplo n.º 6
0
 function tearDown()
 {
     parent::tearDown();
     $_SERVER = $this->serverOriginal;
 }
Ejemplo n.º 7
0
 public function tearDown()
 {
     global $wgDevelEnvironment;
     $wgDevelEnvironment = $this->org_wgDevelEnvironment;
     parent::tearDown();
 }
Ejemplo n.º 8
0
 public function tearDown()
 {
     @unlink($this->tmpFile);
     parent::tearDown();
 }
Ejemplo n.º 9
0
 protected function tearDown()
 {
     // we use libxml only for tests here
     libxml_clear_errors();
     parent::tearDown();
 }
Ejemplo n.º 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 = '';
 }
Ejemplo n.º 13
0
 public function tearDown()
 {
     global $wgHooks;
     $wgHooks = $this->oldWgHooks;
     parent::tearDown();
 }
 public function tearDown()
 {
     parent::tearDown();
     global $wgUser;
     $wgUser = $this->backupUser;
 }
Ejemplo n.º 15
0
 protected function tearDown()
 {
     global $wgCityId;
     $wgCityId = $this->wgCityId;
     parent::tearDown();
 }
Ejemplo n.º 16
0
 protected function tearDown()
 {
     global $wgUser;
     parent::tearDown();
     // restore $wgUser
     $wgUser = $this->origUser;
 }
Ejemplo n.º 17
0
 public function tearDown()
 {
     if (!empty($this->program)) {
         $this->program->delete();
     }
     parent::tearDown();
 }