Bladeren bron

[SecurityBundle] added some cleanup

Fabien Potencier 14 jaren geleden
bovenliggende
commit
ea848be42f

+ 7 - 0
src/Symfony/Bundle/SecurityBundle/Tests/Functional/FormLoginTest.php

@@ -64,4 +64,11 @@ class FormLoginTest extends WebTestCase
 
         $this->deleteTmpDir('StandardFormLogin');
     }
+
+    protected function tearDown()
+    {
+        parent::tearDown();
+
+        $this->deleteTmpDir('StandardFormLogin');
+    }
 }

+ 14 - 0
src/Symfony/Bundle/SecurityBundle/Tests/Functional/SecurityRoutingIntegrationTest.php

@@ -33,4 +33,18 @@ class SecurityRoutingIntegrationTest extends WebTestCase
 
         $this->assertNotEquals(404, $client->getResponse()->getStatusCode());
     }
+
+    protected function setUp()
+    {
+        parent::setUp();
+
+        $this->deleteTmpDir('StandardFormLogin');
+    }
+
+    protected function tearDown()
+    {
+        parent::tearDown();
+
+        $this->deleteTmpDir('StandardFormLogin');
+    }
 }