After the fix #584 there is no possibility to test runCommand with $reuseKernel = true when using symfony 5.3+.
Preconditions
Use symfony 5.4
Use runCommand test.
When there is a $this->getContainer() call before the runCommand it's not possible to reuse same kernel.
In the following code there is no possibility to reuse kernel created by getContainer.
After the fix #584 there is no possibility to test
runCommand
with$reuseKernel = true
when using symfony 5.3+.Preconditions
runCommand
test.When there is a
$this->getContainer()
call before therunCommand
it's not possible to reuse same kernel. In the following code there is no possibility to reuse kernel created bygetContainer
.