8000 chore: ensureKernelShutdown in tearDownAfterClass · symfony/symfony@ea858f6 · GitHub
[go: up one dir, main page]

Skip to content

Commit ea858f6

Browse files
committed
chore: ensureKernelShutdown in tearDownAfterClass
1 parent 298e56a commit ea858f6

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

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

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,12 @@ protected function tearDown(): void
3939
static::$booted = false;
4040
}
4141

42+
protected static function tearDownAfterClass(): void
43+
{
44+
static::ensureKernelShutdown();
45+
parent::tearDownAfterClass();
46+
}
47+
4248
/**
4349
* @throws \RuntimeException
4450
* @throws \LogicException

0 commit comments

Comments
 (0)
0