Closed
Description
Symfony version(s) affected
4.4.39
Description
Hi,
we're running our tests with a modified version of the WebTestCase to not shut down the kernel after each test (long story short: We're running on a service based legacy auth which cannot be mocked away and it quite costy.). To achieve this we changed these 2 methods in the class:
public static function tearDownAfterClass(): void
{
static::ensureKernelShutdown();
}
protected function tearDown(): void
{
// Drop kernel shutdown after each single test
}
This worked flawlessly until the Symfony 4.4.39 version of the FrameworkBundle: #45595
I understand the changes, but is there an easy solution to recover the piror behaviour?
Kind regards
Matthias
How to reproduce
See description.
Possible Solution
No response
Additional Context
No response