Пример #1
0
 public function tearDown()
 {
     if (file_exists($this->logFile)) {
         unlink($this->logFile);
     }
     parent::tearDown();
 }
Пример #2
0
 public function tearDown()
 {
     foreach (new \DirectoryIterator($this->sessionPath) as $file) {
         if (!$file->isDot()) {
             unlink($file->getPathname());
         }
     }
     rmdir($this->sessionPath);
     parent::tearDown();
 }