Skip to content

Commit feeac45

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

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+
public 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)