Remove reference to the test container after kernel shutdown

This reference is not working anymore, as the main container was reset and
cleaned. Keeping a reference to the test container will prevent collecting
the object graph.
This commit is contained in:
Christophe Coevoet 2018-05-23 12:38:43 +02:00
parent 7fb7cf26ad
commit d8fb1b97c9

View File

@ -123,6 +123,7 @@ abstract class KernelTestCase extends TestCase
$container->reset();
}
}
static::$container = null;
}
/**