Skip to content

Commit

Permalink
UNDOING DATABASE NAME CHANGE
Browse files Browse the repository at this point in the history
  • Loading branch information
DIVYANSHI-PARASHAR committed Mar 22, 2024
1 parent cccf5a6 commit 6c6420e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ jobs:
export FLASK_APP=service:app
pytest --pspec --cov=service --cov-fail-under=95
env:
DATABASE_URI: "postgresql+psycopg://postgres:pgs3cr3t@postgres:5432/postgres"
DATABASE_URI: "postgresql+psycopg://postgres:pgs3cr3t@postgres:5432/testdb"

# Uncomment the following 2 lines during hands-on lab

Expand Down
2 changes: 1 addition & 1 deletion tests/test_models.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@


DATABASE_URI = os.getenv(
"DATABASE_URI", "postgresql+psycopg://postgres:postgres@localhost:5432/postgres"
"DATABASE_URI", "postgresql+psycopg://postgres:postgres@localhost:5432/testdb"
)


Expand Down
2 changes: 1 addition & 1 deletion tests/test_routes.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@


DATABASE_URI = os.getenv(
"DATABASE_URI", "postgresql+psycopg://postgres:postgres@localhost:5432/postgres"
"DATABASE_URI", "postgresql+psycopg://postgres:postgres@localhost:5432/testdb"
)
BASE_URL = "/customers"

Expand Down

0 comments on commit 6c6420e

Please sign in to comment.