Avoid using of kernel after shutdown

This commit is contained in:
Alexander Schranz 2019-10-17 11:01:06 +02:00
parent 0af10ccd0d
commit 49b58ed45e

View File

@ -35,6 +35,7 @@ abstract class KernelTestCase extends TestCase
private function doTearDown() private function doTearDown()
{ {
static::ensureKernelShutdown(); static::ensureKernelShutdown();
static::$kernel = null;
} }
/** /**