diff --git a/console.rst b/console.rst index 51be2f01342..37af8d1b040 100644 --- a/console.rst +++ b/console.rst @@ -273,7 +273,7 @@ you can extend your test from { public function testExecute() { - $kernel = $this->createKernel(); + $kernel = static::createKernel(); $kernel->boot(); $application = new Application($kernel);