You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Turns out that the cli_arg_auto_proxy_di.xml is not added to the sandbox directories. Whenever you run integration tests via php bin/magento dev:tests:run integration or via cd dev/tests/integration && php ../../../vendor/bin/phpunit -c ../../../phpunit-integration.xml Magento create temporary directories under dev/tests/integration/tmp/sandox-..... These sandbox directories don't include the cli_arg_auto_proxy_di.xml, so the classic flag error occurs.
In \Magento\TestFramework\Application::copyAppConfigFiles, the pattern shows that we could place the cli_arg_auto_proxy_di.xml into app/etc/SOMEDIR/di.xml and it would work for the sandbox tests.
This needs to be tested for the non-sandbox execution though.
The text was updated successfully, but these errors were encountered:
Turns out that the
cli_arg_auto_proxy_di.xml
is not added to the sandbox directories. Whenever you run integration tests viaphp bin/magento dev:tests:run integration
or viacd dev/tests/integration && php ../../../vendor/bin/phpunit -c ../../../phpunit-integration.xml
Magento create temporary directories underdev/tests/integration/tmp/sandox-....
. These sandbox directories don't include thecli_arg_auto_proxy_di.xml
, so the classicflag
error occurs.In
\Magento\TestFramework\Application::copyAppConfigFiles
, the pattern shows that we could place thecli_arg_auto_proxy_di.xml
intoapp/etc/SOMEDIR/di.xml
and it would work for the sandbox tests.This needs to be tested for the non-sandbox execution though.
The text was updated successfully, but these errors were encountered: