Closed kenjis closed 2 years ago
If we write test code for a command that uses CLI::prompt(), and run the test, it waits for input for ever.
CLI::prompt()
How can we write test?
https://github.com/codeigniter4/CodeIgniter4/blob/cf4641c6dce585314030cd55161485e6662b22c7/system/CLI/CLI.php#L181
Fixed by #6335
If we write test code for a command that uses
CLI::prompt()
, and run the test, it waits for input for ever.How can we write test?
https://github.com/codeigniter4/CodeIgniter4/blob/cf4641c6dce585314030cd55161485e6662b22c7/system/CLI/CLI.php#L181