Details
Description
Wrong config is used if run composer for test environment. Should be used config_test.yml but actually config_prod.yml is used
Steps to reproduce
SYMFONY_ENV=test php composer.phar install
Expected result
Composer will finish without errors for test environment (using config_test.yml)
Actual result
Composer uses config_prod.yml and:
Dumping all prod assets. Debug mode is off.
Possible bug:
https://github.com/ezsystems/ezpublish-kernel/blob/master/eZ/Bundle/EzPublishCoreBundle/Composer/ScriptHandler.php#L40