diff --git a/.gitignore b/.gitignore index 5c288ef7f3..b7305223f9 100644 --- a/.gitignore +++ b/.gitignore @@ -7,3 +7,6 @@ # PhpUnit /phpunit.xml + +# Functional tests +/tests/Functional/var/ diff --git a/tests/Functional/RoutingTest.php b/tests/Functional/RoutingTest.php index 2227e28e95..a541e3630d 100644 --- a/tests/Functional/RoutingTest.php +++ b/tests/Functional/RoutingTest.php @@ -19,7 +19,6 @@ use Contao\System; use Contao\TestCase\ContaoDatabaseTrait; use Symfony\Bundle\FrameworkBundle\Test\WebTestCase; -use Symfony\Component\Filesystem\Filesystem; class RoutingTest extends WebTestCase { @@ -35,17 +34,6 @@ public static function setUpBeforeClass(): void static::loadFileIntoDatabase(__DIR__.'/app/Resources/contao_test.sql'); } - /** - * {@inheritdoc} - */ - public static function tearDownAfterClass(): void - { - parent::tearDownAfterClass(); - - $fs = new Filesystem(); - $fs->remove(__DIR__.'/var'); - } - /** * {@inheritdoc} */