reset the kernel cache after each test

This commit is contained in:
Christian Flothmann 2019-11-26 10:38:45 +01:00
parent ec781c927a
commit 5b5927b93b

View File

@ -30,7 +30,7 @@ use Symfony\Component\HttpKernel\Tests\Fixtures\ResettableService;
class KernelTest extends TestCase class KernelTest extends TestCase
{ {
public static function tearDownAfterClass(): void protected function tearDown(): void
{ {
$fs = new Filesystem(); $fs = new Filesystem();
$fs->remove(__DIR__.'/Fixtures/var'); $fs->remove(__DIR__.'/Fixtures/var');