fix(medusa-test-utils): add DB_PORT env variable support (#12782)

* fix(medusa-test-utils): add DB_PORT environment variable support

- Add DB_PORT constant with default value "5432"
- Update pgGodCredentials to include port property
- Modify getDatabaseURL to include port in connection string
- Allows custom PostgreSQL port configuration via DB_PORT env var

* chore: add changeset for DB_PORT support

---------

Co-authored-by: Carlos R. L. Rodrigues <37986729+carlos-r-l-rodrigues@users.noreply.github.com>
Co-authored-by: William Bouchard <46496014+willbouch@users.noreply.github.com>
Co-authored-by: Adrien de Peretti <adrien.deperetti@gmail.com>
This commit is contained in:
authored and GitHub committed 2025-09-07 22:47:53 +02:00
1 parent ca471eb8f4
commit a0693727a0
2 files changed
+9 -1

No files matched your search

+5
View File
@@ -0,0 +1,5 @@
---
"@medusajs/test-utils": patch
---
fix(test-utils): add DB_PORT environment variable support for PostgreSQL connections