Skip to content

Commit c193b98

Browse files
cquintana92nicolas-grekas
authored andcommitted
[FrameworkBundle] ensureKernelShutdown in tearDownAfterClass
1 parent 0291ea1 commit c193b98

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

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

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,14 @@ protected function tearDown(): void
4545
static::$booted = false;
4646
}
4747

48+
public static function tearDownAfterClass(): void
49+
{
50+
static::ensureKernelShutdown();
51+
static::$class = null;
52+
static::$kernel = null;
53+
static::$booted = false;
54+
}
55+
4856
/**
4957
* @throws \RuntimeException
5058
* @throws \LogicException

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