feat: add database test safety configuration #14
Reference in New Issue
Block a user
Delete Branch "feat/database-test-safety"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
This PR adds database test safety configuration to ensure tests always run against the development database and removes hardcoded passwords from version control.
Changes
.env.developmentwith overrideTesting
Security Note
The hardcoded password
LINGO5row_hidinghas been removed from:package.jsonscriptsscripts/cleanup-prod-db.jsscripts/check-test-records.jsscripts/generate-docker-compose.jsplaywright.config.tsAll database operations now require explicit environment variables or
.envfiles.Issue
Closes #13 (Add database test safety configuration)
Pull request closed