We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bb54e40 commit 9e475b6Copy full SHA for 9e475b6
src/Symfony/Bundle/FrameworkBundle/Test/KernelTestCase.php
@@ -208,8 +208,6 @@ protected static function createKernel(array $options = [])
208
}
209
210
/**
211
- * @after
212
- *
213
* Shuts the kernel down if it was used in the test.
214
*/
215
protected static function ensureKernelShutdown()
@@ -222,4 +220,12 @@ protected static function ensureKernelShutdown()
222
220
223
221
224
+
+ /**
225
+ * Clean up Kernel usage in this test.
226
+ */
227
+ protected function tearDown()
228
+ {
229
+ static::ensureKernelShutdown();
230
+ }
231
0 commit comments