示例#1
0
 public function tearDown()
 {
     $_SERVER['HTTP_HOST'] = $this->http_host;
     $_SERVER['SERVER_PORT'] = $this->server_port;
     $_SERVER['REQUEST_URI'] = $this->request_uri;
     parent::tearDown();
 }
示例#2
0
 public function tearDown()
 {
     parent::tearDown();
     $this->set_current_user($this->old_current_user);
 }