Skip to content

Commit

Permalink
Fix db isolated schema
Browse files Browse the repository at this point in the history
  • Loading branch information
lorenyu committed Aug 11, 2023
1 parent 1e326eb commit a81954f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/tests/lib/db_testing.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ def create_isolated_db(monkeypatch) -> db.DBClient:
"""
schema_name = f"test_schema_{uuid.uuid4().int}"
monkeypatch.setenv("DB_SCHEMA", schema_name)
monkeypatch.setenv("DB_NAME", "postgres")
monkeypatch.setenv("DB_USER", "postgres")
monkeypatch.setenv("DB_NAME", "app")
monkeypatch.setenv("DB_USER", "app")
monkeypatch.setenv("DB_PASSWORD", "secret123")
monkeypatch.setenv("ENVIRONMENT", "local")
monkeypatch.setenv("DB_CHECK_CONNECTION_ON_INIT", "False")
Expand Down

0 comments on commit a81954f

Please sign in to comment.