Skip to content

Commit 8d81b0d

Browse files
cquintana92nicolas-grekas
authored andcommitted
[FrameworkBundle] ensureKernelShutdown in tearDownAfterClass
1 parent 9f3c279 commit 8d81b0d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/Symfony/Bundle/FrameworkBundle/Test/KernelTestCase.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,8 +120,10 @@ protected static function createKernel(array $options = []): KernelInterface
120120

121121
/**
122122
* Shuts the kernel down if it was used in the test - called by the tearDown method by default.
123+
*
124+
* @afterClass
123125
*/
124-
protected static function ensureKernelShutdown()
126+
public static function ensureKernelShutdown()
125127
{
126128
if (null !== static::$kernel) {
127129
static::$kernel->boot();

0 commit comments

Comments
 (0)