8000 [FrameworkBundle] ensureKernelShutdown in tearDownAfterClass · symfony/symfony@674990e · GitHub
[go: up one dir, main page]

Skip to content
10000

Commit 674990e

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

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,8 +120,9 @@ 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+
* @afterClass
123124
*/
124-
protected static function ensureKernelShutdown()
125+
public static function ensureKernelShutdown()
125126
{
126127
if (null !== static::$kernel) {
127128
static::$kernel->boot();

0 commit comments

Comments
 (0)
0