Update test database host name
Test / test (push) Successful in 1m2s
Details
Test / test (push) Successful in 1m2s
Details
This commit is contained in:
parent
b992443a99
commit
d1f20c4a2b
|
|
@ -1,4 +1,5 @@
|
|||
DATABASE="postgres"
|
||||
POSTGRES_PASSWORD="testpassword"
|
||||
POSTGRES_HOST="database"
|
||||
VAPID_PRIVATE_KEY="privatekey"
|
||||
BASE_URL="http://localhost:5173"
|
||||
|
|
@ -7,7 +7,7 @@ jobs:
|
|||
runs-on: ubuntu-latest
|
||||
container: mcr.microsoft.com/playwright:v1.48.1-jammy
|
||||
services:
|
||||
postgres:
|
||||
database:
|
||||
image: postgres
|
||||
env:
|
||||
POSTGRES_PASSWORD: testpassword
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
export default {
|
||||
database: process.env.DATABASE ?? "postgres",
|
||||
host: "database",
|
||||
host: process.env.POSTGRES_HOST ?? "database",
|
||||
user: "postgres",
|
||||
password: process.env.POSTGRES_PASSWORD,
|
||||
port: 5432,
|
||||
|
|
|
|||
|
|
@ -32,7 +32,7 @@ jest.mock("./settings", () => ({
|
|||
user: "postgres",
|
||||
password: process.env.POSTGRES_PASSWORD,
|
||||
database: "test",
|
||||
host: "localhost",
|
||||
host: process.env.POSTGRES_HOST ?? "localhost",
|
||||
}))
|
||||
|
||||
describe("subscriptions", () => {
|
||||
|
|
|
|||
Loading…
Reference in New Issue