minor #38172 [FrameworkBundle] fix filename being cleaned up at end of tests (xabbuh)

This PR was merged into the 4.4 branch.

Discussion
----------

[FrameworkBundle] fix filename being cleaned up at end of tests

| Q             | A
| ------------- | ---
| Branch?       | 4.4
| Bug fix?      | no
| New feature?  | no
| Deprecations? | no
| Tickets       |
| License       | MIT
| Doc PR        |

Commits
-------

47a5a93e3e fix filename being cleaned up at end of tests
This commit is contained in:
Fabien Potencier 2020-09-13 15:38:16 +02:00
commit cc8cee9111

View File

@ -38,7 +38,7 @@ class CacheClearCommandTest extends TestCase
protected function tearDown(): void
{
$this->fs->remove($this->kernel->getProjectDir());
$this->fs->remove(__DIR__.'/Fixture/preload.php');
$this->fs->remove(__DIR__.'/Fixture/.preload.php');
}
public function testCacheIsFreshAfterCacheClearedWithWarmup()