Closed
Description
Preconditions
- Magento: develop
- PHP 7.0.15
Steps to reproduce
- Run
./vendor/bin/phpunit --debug -v -c dev/tests/unit/phpunit.xml.dist setup/src/Magento/Setup/Test/Unit/Module/I18n/Dictionary/Writer/Csv/StdoTest.php
Expected result
- Assertion to show as all green
Actual result
- PHPUnit cannot output anything as it uses the STDOUT stream which has just been destroyed in the teadown of the test.
I am not even 100% if this testing is actually makes sense. But because of the __destruct
method in Magento\Setup\Module\I18n\Dictionary\Writer\Csv
the output will always be closed and then PHPUnit will fail when trying to write the test results to the screen.