Skip to content

Commit

Permalink
test(postgres_15): fix db router
Browse files Browse the repository at this point in the history
  • Loading branch information
OrbisK committed Nov 15, 2024
1 parent fc1d731 commit d2c0093
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions tests/app_postgres_15/router.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@


class DBRouter(BaseDBRouter):
route_app_labels = {"app_postgres"}
db = settings.DB_POSTGRES
route_app_labels = {"app_postgres_15"}
db = settings.DB_POSTGRES_15
2 changes: 1 addition & 1 deletion tests/app_postgres_15/tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@


class Test(TestCase):
databases = ['default', settings.DB_POSTGRES]
databases = ['default', settings.DB_POSTGRES_15]

def test(self):
self.assertTrue(True)

0 comments on commit d2c0093

Please sign in to comment.