From 2d2a1cef9da895a542db044285afc86114f49d2b Mon Sep 17 00:00:00 2001 From: Tom Egan <61425509+tomegantcs@users.noreply.github.com> Date: Tue, 13 Dec 2022 14:05:13 -0500 Subject: [PATCH] [Console][Testing] Correct what appears to be intended behavior vs actual behavior in documentation --- console.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/console.rst b/console.rst index 7c4738a0b48..328a42ea2bf 100644 --- a/console.rst +++ b/console.rst @@ -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::