Skip to content

Conversation

@stefandoorn
Copy link
Contributor

The validate() function returns true or an array. If not true, it assumes an array. But e.g. in some unit tests (Catalog/Test/Unit/Model/CategoryRepositoryTest.php) the validate() output is set to false. That means a false is inserted in the foreach() call, which results in a warning and could break the tests.

@stefandoorn
Copy link
Contributor Author

Accompanying issue: #3438.

@sshrewz sshrewz added the MX label Feb 22, 2016
@katmoon
Copy link
Contributor

katmoon commented Feb 23, 2016

Hi Stefan,

Thanks for contributing!
I created internal ticket MAGETWO-49647 to process your PR.
Please sign Contributor License Agreement displayed above so that I can proceed.

Thanks,
Kateryna.

@katmoon katmoon added the Issue: Ready for Work Gate 4. Acknowledged. Issue is added to backlog and ready for development label Feb 23, 2016
@katmoon
Copy link
Contributor

katmoon commented Feb 29, 2016

Hi Stefan,

The issue #3438 has been fixed by updating the unit test and relevant PHPdocs, so this PR is rejected.
Thank you for bringing attention to the issue!

Thanks,
Kateryna.

@katmoon katmoon closed this Feb 29, 2016
magento-engcom-team pushed a commit that referenced this pull request Nov 14, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Issue: Ready for Work Gate 4. Acknowledged. Issue is added to backlog and ready for development Progress: reject

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants