[FrameworkBundle] added a note
This commit is contained in:
parent
09de9fe85f
commit
7941ff61f0
@ -70,6 +70,8 @@ class Client extends BaseClient
|
|||||||
*/
|
*/
|
||||||
protected function doRequest($request)
|
protected function doRequest($request)
|
||||||
{
|
{
|
||||||
|
// avoid shutting down the Kernel if no request has been performed yet
|
||||||
|
// WebTestCase::createClient() boots the Kernel but do not handle a request
|
||||||
if ($this->hasPerformedRequest) {
|
if ($this->hasPerformedRequest) {
|
||||||
$this->kernel->shutdown();
|
$this->kernel->shutdown();
|
||||||
} else {
|
} else {
|
||||||
|
Reference in New Issue
Block a user