I'm setting up codeception with a project in Symfony 4.x. I have some basic unit tests that work, but when I run a test that references the symfony module, it throws errors indicating that there are missing environment variables:
There was 1 error:
1) BreadcrumbServiceTest: Index
[Symfony\Component\DependencyInjection\Exception\EnvNotFoundException] Environment variable not found: "SUBDOMAIN_INTERNAL".
However, this variable is set in phpunit.xml:
<ini name="error_reporting" value="-1" />
<env name="SUBDOMAIN_INTERNAL" value="internal" />
Any suggestions about how to get codeception to use this? Or should I set env variables differently?