chore(imitation): remove DB password from tracked phpunit.xml (B4)
DB_USERNAME/DB_PASSWORD now come from the untracked local .env (dev creds postgres/liderra_dev_pass that already match liderra_testing on the same local Postgres). phpunit.xml keeps only the non-secret DB_DATABASE/DB_CONNECTION override. Verified: tests still connect (FakeDaDataClientTest 3/3 GREEN) without the env vars in phpunit.xml. .env.testing remains gitignored.
This commit is contained in:
+2
-3
@@ -28,9 +28,8 @@
|
||||
<env name="CACHE_STORE" value="array"/>
|
||||
<env name="DB_CONNECTION" value="pgsql"/>
|
||||
<env name="DB_DATABASE" value="liderra_testing"/>
|
||||
<env name="DB_USERNAME" value="postgres"/>
|
||||
<!-- DB_PASSWORD: worktree-local override (no .env.testing in this worktree). NOT for production. -->
|
||||
<env name="DB_PASSWORD" value="liderra_dev_pass"/>
|
||||
<!-- DB_USERNAME / DB_PASSWORD come from the untracked local .env (dev creds). -->
|
||||
<!-- Not hardcoded here so no secret is committed to git. -->
|
||||
<env name="DB_URL" value=""/>
|
||||
<env name="MAIL_MAILER" value="array"/>
|
||||
<env name="AUTH_PASSWORD_RESET_TOKEN_TABLE" value="password_resets" force="true"/>
|
||||
|
||||
Reference in New Issue
Block a user