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 ab1f0e9 commit a0d35f5Copy full SHA for a0d35f5
Tests/Command/CacheClearCommand/CacheClearCommandTest.php
@@ -18,6 +18,7 @@
18
use Symfony\Component\Config\Resource\ResourceInterface;
19
use Symfony\Component\Console\Input\ArrayInput;
20
use Symfony\Component\Console\Output\NullOutput;
21
+use Symfony\Component\Filesystem\Exception\IOException;
22
use Symfony\Component\Filesystem\Filesystem;
23
use Symfony\Component\Finder\Finder;
24
@@ -37,7 +38,10 @@ protected function setUp(): void
37
38
39
protected function tearDown(): void
40
{
- $this->fs->remove($this->kernel->getProjectDir());
41
+ try {
42
+ $this->fs->remove($this->kernel->getProjectDir());
43
+ } catch (IOException $e) {
44
+ }
45
}
46
47
public function testCacheIsFreshAfterCacheClearedWithWarmup()
0 commit comments