Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Support for Sandbox execution #14

Closed
DavidLambauer opened this issue May 9, 2024 · 1 comment
Closed

Add Support for Sandbox execution #14

DavidLambauer opened this issue May 9, 2024 · 1 comment
Assignees

Comments

@DavidLambauer
Copy link
Member

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.

@DavidLambauer DavidLambauer self-assigned this May 9, 2024
vpodorozh added a commit to vpodorozh/magento-cli-auto-proxy that referenced this issue Jul 22, 2024
vpodorozh added a commit to vpodorozh/magento-cli-auto-proxy that referenced this issue Jul 22, 2024
vpodorozh added a commit that referenced this issue Jul 22, 2024
Add Support for Sandbox execution #14
@vpodorozh
Copy link
Collaborator

resolved with #15

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants