Skip to content

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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy