Skip to content

Commit dae0641

Browse files
committed
Merge branch '7.0' into 7.1
* 7.0: [Console][Testing] Correct what appears to be intended behavior vs actual behavior in documentation
2 parents 73a995b + ab064c7 commit dae0641

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

console.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -540,11 +540,11 @@ call ``setAutoExit(false)`` on it to get the command result in ``CommandTester``
540540

541541
.. caution::
542542

543-
When testing ``InputOption::VALUE_NONE`` command options, you must pass an
544-
empty value to them::
543+
When testing ``InputOption::VALUE_NONE`` command options, you must pass ``true``
544+
to them::
545545

546546
$commandTester = new CommandTester($command);
547-
$commandTester->execute(['--some-option' => '']);
547+
$commandTester->execute(['--some-option' => true]);
548548

549549
.. note::
550550

0 commit comments

Comments
 (0)