User tests: Successful: Unsuccessful:
Fixes 2 of the 3 remaining unit tests by allowing JInputCli
objects to be injected into the \Joomla\CMS\Application\CliApplication
class
Check unit tests pass + code review
Status | New | ⇒ | Pending |
Category | ⇒ | Libraries Unit Tests |
I thought it was better safe than sorry to stop stupid. But in theory I guess it should be fine
Let's be honest here. We're dealing with fully custom CLI architecture at this point. I think there's less to be defensive about here.
Labels |
Added:
?
?
|
okies :) removed
Status | Pending | ⇒ | Fixed in Code Base |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2017-11-27 00:26:09 |
Closed_By | ⇒ | mbabker |
Well, it can work, but you wouldn't be able to parse the CLI arguments out without doing
$this->input->cli->get()
. For me it works, I just wonder if the extra check is really needed.