When performing functional tests with the Panther-Client, the webserver that is started in the background does not use the "test" environment. Instead it seems to use the parameters provided in the .env file (currently points to the "dev" environment) and therefore I can not use a test-database for my functional tests.
Technically I can understand that this happens, as the php-webserver that is started doesn't know anything about the test-environment the test-client uses and only sees the .env-file.
Is there any option that I overlooked that can tell the php-webserver to start in the test-environment or has anybody found another solution for this problem?
(The same problem seems to exist with selenium-tests, but also there I did not find a solution.)