Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions console.rst
Original file line number Diff line number Diff line change
Expand Up @@ -565,11 +565,11 @@ call ``setAutoExit(false)`` on it to get the command result in ``CommandTester``

.. caution::

When testing ``InputOption::VALUE_NONE`` command options, you must pass an
empty value to them::
When testing ``InputOption::VALUE_NONE`` command options, you must pass ``true``
to them::

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

.. note::

Expand Down