Fix transient test
This commit is contained in:
parent
de2f22086e
commit
b0267e6dcf
|
@ -18,6 +18,7 @@ use Symfony\Component\Config\ConfigCacheFactory;
|
|||
use Symfony\Component\Config\Resource\ResourceInterface;
|
||||
use Symfony\Component\Console\Input\ArrayInput;
|
||||
use Symfony\Component\Console\Output\NullOutput;
|
||||
use Symfony\Component\Filesystem\Exception\IOException;
|
||||
use Symfony\Component\Filesystem\Filesystem;
|
||||
use Symfony\Component\Finder\Finder;
|
||||
|
||||
|
@ -37,7 +38,10 @@ class CacheClearCommandTest extends TestCase
|
|||
|
||||
protected function tearDown(): void
|
||||
{
|
||||
$this->fs->remove($this->kernel->getProjectDir());
|
||||
try {
|
||||
$this->fs->remove($this->kernel->getProjectDir());
|
||||
} catch (IOException $e) {
|
||||
}
|
||||
}
|
||||
|
||||
public function testCacheIsFreshAfterCacheClearedWithWarmup()
|
||||
|
|
Reference in New Issue