From 25dae6c5e3949c00ab42f490b22667ab0ab4915e Mon Sep 17 00:00:00 2001 From: Carlos Pereira De Amorim Date: Wed, 17 Nov 2021 23:48:41 +0100 Subject: [PATCH] Correction for testing commands The kernel has to be booted and not created --- console.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/console.rst b/console.rst index 20574b05f91..a4d0359401b 100644 --- a/console.rst +++ b/console.rst @@ -361,7 +361,7 @@ console:: { public function testExecute() { - $kernel = static::createKernel(); + $kernel = self::bootKernel(); $application = new Application($kernel); $command = $application->find('app:create-user');