Skip to content

Commit ce986ad

Browse files
committed
minor #16118 Correction for testing commands (epitre)
This PR was submitted for the 5.4 branch but it was merged into the 4.4 branch instead. Discussion ---------- Correction for testing commands The kernel has to be booted and not created <!-- If your pull request fixes a BUG, use the oldest maintained branch that contains the bug (see https://symfony.com/releases for the list of maintained branches). If your pull request documents a NEW FEATURE, use the same Symfony branch where the feature was introduced (and `5.x` for features of unreleased versions). --> Commits ------- 25dae6c Correction for testing commands
2 parents 76423b6 + 25dae6c commit ce986ad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

console.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -361,7 +361,7 @@ console::
361361
{
362362
public function testExecute()
363363
{
364-
$kernel = static::createKernel();
364+
$kernel = self::bootKernel();
365365
$application = new Application($kernel);
366366

367367
$command = $application->find('app:create-user');

0 commit comments

Comments
 (0)