protected function tearDown() { $this->repo->cleanupBatch($this->createdFiles); // delete files foreach ($this->createdFiles as $tmp) { // delete dirs $tmp = $this->repo->resolveVirtualUrl($tmp); while ($tmp = FileBackend::parentStoragePath($tmp)) { $this->repo->getBackend()->clean(array('dir' => $tmp)); } } parent::tearDown(); }
protected function tearDown() { // Delete files $this->repo->cleanupBatch($this->createdFiles); parent::tearDown(); }