We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3ab5d32 commit 384c89aCopy full SHA for 384c89a
src/Module/NetteDIModule.php
@@ -59,7 +59,7 @@ public function _beforeSuite($settings = [])
59
public function _before(TestInterface $test)
60
{
61
$tempDir = $this->path.'/'.$this->config['tempDir'];
62
- FileSystem::delete($tempDir);
+ FileSystem::delete(realpath($tempDir));
63
FileSystem::createDir($tempDir);
64
$this->container = null;
65
}
@@ -82,7 +82,7 @@ public function _after(TestInterface $test)
82
} catch (MissingServiceException $e) {
83
84
85
- FileSystem::delete($this->container->getParameters()['tempDir']);
+ FileSystem::delete(realpath($this->container->getParameters()['tempDir']));
86
87
88
0 commit comments