Merge branch '4.4' into 5.2
* 4.4: [Contracts] fix branch-aliases Fix transient test
This commit is contained in:
commit
b3f046d81d
@ -19,6 +19,7 @@ use Symfony\Component\Config\Resource\ResourceInterface;
|
||||
use Symfony\Component\Console\Input\ArrayInput;
|
||||
use Symfony\Component\Console\Output\NullOutput;
|
||||
use Symfony\Component\DependencyInjection\Container;
|
||||
use Symfony\Component\Filesystem\Exception\IOException;
|
||||
use Symfony\Component\Filesystem\Filesystem;
|
||||
use Symfony\Component\Finder\Finder;
|
||||
|
||||
@ -38,13 +39,14 @@ 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()
|
||||
{
|
||||
$this->fs->mkdir($this->kernel->getProjectDir());
|
||||
|
||||
$input = new ArrayInput(['cache:clear']);
|
||||
$application = new Application($this->kernel);
|
||||
$application->setCatchExceptions(false);
|
||||
|
Reference in New Issue
Block a user