Skip to content

Update database.yml.sample: add separate test db - #3521

Merged
momo3404 merged 2 commits into
developmentfrom
aaron/add-test-db-to-database-config
Aug 21, 2026
Merged

Update database.yml.sample: add separate test db#3521
momo3404 merged 2 commits into
developmentfrom
aaron/add-test-db-to-database-config

Conversation

@aaronskiba

Copy link
Copy Markdown
Contributor

Fixes #3396

Changes proposed in this PR:

  • Prior to this change, config/database.yml was configured such that running tests would be executed against the dev db. This would result in the dev db being destroyed after tests. This change ensures that the tests are executed against a separate test db and that the dev db persists while testing.
  • NOTE: config/database.yml is set via the cp 'config/database.yml.sample', 'config/database.yml' step when bin/setup postgresql is executed.

@aaronskiba
aaronskiba force-pushed the aaron/add-test-db-to-database-config branch from c70f8f7 to 82384fc Compare May 5, 2025 19:11
@aaronskiba
aaronskiba force-pushed the aaron/add-test-db-to-database-config branch from 82384fc to 47cbf91 Compare August 21, 2026 20:42
Prior to this change, `config/database.yml` was configured such that running tests would be executed against the dev db. This would result in the dev db being destroyed after tests. This change ensures that the tests are executed against a separate test db and that the dev db persists while testing.
@aaronskiba
aaronskiba force-pushed the aaron/add-test-db-to-database-config branch from 47cbf91 to d025c14 Compare August 21, 2026 20:42
@momo3404
momo3404 merged commit d4bbc1e into development Aug 21, 2026
9 of 11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants