protected function tearDown()
 {
     chdir($this->legacyPath);
     if (file_exists('var/test')) {
         $fs = new Filesystem();
         $fs->remove('var/test');
     }
     /** @var $legacyKernel Kernel */
     $legacyKernel = $_ENV['legacyKernel'];
     $legacyKernel->runCallback(function () {
         \eZClusterFileHandler::instance()->fileDelete('var/test', true);
     });
     chdir($this->originalDir);
     parent::tearDown();
 }
 public function tearDown()
 {
     self::cleanUpStorageDir();
     parent::tearDown();
 }
示例#3
0
 public function tearDown()
 {
     self::cleanupDir();
     parent::tearDown();
 }