Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitc193b98

Browse files
cquintana92nicolas-grekas
authored andcommitted
[FrameworkBundle] ensureKernelShutdown in tearDownAfterClass
1 parent0291ea1 commitc193b98

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+
publicstaticfunctiontearDownAfterClass():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)

[8]ページ先頭

©2009-2025 Movatter.jp