? ? Pending

User tests: Successful: Unsuccessful:

avatar wilsonge
wilsonge
26 Nov 2017

Summary of Changes

Fixes 2 of the 3 remaining unit tests by allowing JInputCli objects to be injected into the \Joomla\CMS\Application\CliApplication class

Testing

Check unit tests pass + code review

avatar wilsonge wilsonge - open - 26 Nov 2017
avatar wilsonge wilsonge - change - 26 Nov 2017
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 26 Nov 2017
Category Libraries Unit Tests
avatar mbabker
mbabker - comment - 26 Nov 2017

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.

avatar wilsonge
wilsonge - comment - 27 Nov 2017

I thought it was better safe than sorry to stop stupid. But in theory I guess it should be fine

avatar mbabker
mbabker - comment - 27 Nov 2017

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.

avatar wilsonge wilsonge - change - 27 Nov 2017
Labels Added: ? ?
avatar wilsonge
wilsonge - comment - 27 Nov 2017

okies :) removed

avatar mbabker mbabker - change - 27 Nov 2017
Status Pending Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2017-11-27 00:26:09
Closed_By mbabker
avatar mbabker mbabker - close - 27 Nov 2017
avatar mbabker mbabker - merge - 27 Nov 2017

Add a Comment

Login with GitHub to post a comment