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\Config\Resource\ResourceInterface;
|
||||||
use Symfony\Component\Console\Input\ArrayInput;
|
use Symfony\Component\Console\Input\ArrayInput;
|
||||||
use Symfony\Component\Console\Output\NullOutput;
|
use Symfony\Component\Console\Output\NullOutput;
|
||||||
|
use Symfony\Component\Filesystem\Exception\IOException;
|
||||||
use Symfony\Component\Filesystem\Filesystem;
|
use Symfony\Component\Filesystem\Filesystem;
|
||||||
use Symfony\Component\Finder\Finder;
|
use Symfony\Component\Finder\Finder;
|
||||||
|
|
||||||
@ -37,7 +38,10 @@ class CacheClearCommandTest extends TestCase
|
|||||||
|
|
||||||
protected function tearDown(): void
|
protected function tearDown(): void
|
||||||
{
|
{
|
||||||
$this->fs->remove($this->kernel->getProjectDir());
|
try {
|
||||||
|
$this->fs->remove($this->kernel->getProjectDir());
|
||||||
|
} catch (IOException $e) {
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public function testCacheIsFreshAfterCacheClearedWithWarmup()
|
public function testCacheIsFreshAfterCacheClearedWithWarmup()
|
||||||
|
Reference in New Issue
Block a user