breaking: remove POSTGRES prefix env variables in favor of DATABASE prefix (#8672)

This commit is contained in:
Harminder Virk
2024-08-20 17:05:19 +05:30
committed by GitHub
parent cfdd056d70
commit 5f310c0a00
7 changed files with 38 additions and 46 deletions

View File

@@ -9,11 +9,11 @@ medusaIntegrationTestRunner({
testSuite: ({ dbConfig: { clientUrl } }) => {
describe("Standalone Modules", () => {
beforeAll(async () => {
process.env.POSTGRES_URL = clientUrl
process.env.DATABASE_URL = clientUrl
})
afterAll(async () => {
process.env.POSTGRES_URL = undefined
process.env.DATABASE_URL = undefined
})
it("Should migrate database and initialize Product module using connection string from environment variable ", async function () {