protected function tearDown() { parent::tearDown(); if (isset($_SERVER['HTTP_HOST'])) { unset($_SERVER['HTTP_HOST']); } }
/** * Overrides the parent tearDown method. * * @return void */ protected function tearDown() { if (is_array($this->expectedErrors) && !empty($this->expectedErrors)) { $this->fail('An expected error was not raised.'); } parent::tearDown(); }