PHPUnit Env Variables of "blt tests:phpunit:run" Is Incorrectly Overridden In Command "blt tests"
Describe the bug
When running the command blt tests, the PHPunit env variable of blt tests:phpunit:run is being overridden by the other command tests:drupal:phpunit:run and thus preventing the custom env variables in the phpunit.xml file from being respected in the tests.
To Reproduce
- Create a
phpunit.xmlwith custom environment variables, for example, usemysqldatabase instead ofsqlite. - Run the command
blt tests
Expected behavior
The phpunit command should be clean without all the inline environment variables overrides.

Detailed error output
See incorrectly assigned inline variables on the screenshot.
I believe that's because of they are sharing the same command file.
Additional context
We temporarily disabled the tests:drupal:phpunit:run command from being run in blt tests by adding
disable-targets:
tests:
drupal: true
in the blt.yml file.
Another solution would be to apply the following PR as patch to reset the env properties when running tests:phpunit:run command.
https://github.com/acquia/blt-drupal-test/pull/2