Skip to content

Commit

Permalink
fix: unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
nannan00 committed Nov 13, 2023
1 parent fc5e312 commit 5fe1350
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/bk-login.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,10 @@ jobs:
run: |
# random secret
export BK_APP_SECRET="fod6MKVTVi_3M5HgGoj-qI7b3l0dgCzTBwGypnDz4vg="
export BK_USER_APP_SECRET="Vi_3M5HgGogCzTBwGypnDz4vgfod6MKVTj-qI7b3l0d="
# random secret key
export BKKRILL_ENCRYPT_SECRET_KEY="tttHSBLiVdQPItrfy7n9dV7AxAUMZpYVkD6IHMbL0VE="
export BK_USER_URL=""
export BK_DOMAIN="example.com"
export BK_COMPONENT_API_URL=""
export MYSQL_PASSWORD=root_pwd
export MYSQL_HOST="127.0.0.1"
Expand Down
2 changes: 1 addition & 1 deletion src/bk-login/bklogin/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@
DATABASES = {
"default": {
"ENGINE": "django.db.backends.mysql",
"NAME": env.str("MYSQL_NAME", "bk-user"),
"NAME": env.str("MYSQL_NAME", "bk-login"),
"USER": env.str("MYSQL_USER", "root"),
"PASSWORD": env.str("MYSQL_PASSWORD", ""),
"HOST": env.str("MYSQL_HOST", "localhost"),
Expand Down

0 comments on commit 5fe1350

Please sign in to comment.