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 feeac45 commit a467f50Copy full SHA for a467f50
src/Symfony/Bundle/FrameworkBundle/Test/KernelTestCase.php
@@ -39,12 +39,6 @@ protected function tearDown(): void
39
static::$booted = false;
40
}
41
42
- public static function tearDownAfterClass(): void
43
- {
44
- static::ensureKernelShutdown();
45
- parent::tearDownAfterClass();
46
- }
47
-
48
/**
49
* @throws \RuntimeException
50
* @throws \LogicException
@@ -138,4 +132,14 @@ protected static function ensureKernelShutdown()
138
132
139
133
140
134
135
+
136
+ /**
137
+ * Ensures the Kernel is shut down after all tests in the class have run.
+ *
+ * @afterClass
+ */
141
+ public static function ensureKernelShutdownAfterClass(): void
142
+ {
143
+ static::ensureKernelShutdown();
144
+ }
145
0 commit comments