예제 #1
0
 protected function tearDown()
 {
     parent::tearDown();
     if (isset($_SERVER['HTTP_HOST'])) {
         unset($_SERVER['HTTP_HOST']);
     }
 }
예제 #2
0
파일: FOFTestCase.php 프로젝트: Joal01/fof
 /**
  * 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();
 }