Skip to content

Commit

Permalink
docker: Fix database settings for tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Kurocon committed May 6, 2024
1 parent 8802786 commit 5c113ee
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion amelie/settings/tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,15 @@
# Database
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.mysql',
'ENGINE': 'amelie.tools.utf8mb4_mysql_backend',
'HOST': '172.17.0.1',
'NAME': 'amelie_test',
'USER': 'amelie_test',
'PASSWORD': 'amelie_test',
'OPTIONS': {'charset': 'utf8mb4'},
'TEST': {
'NAME': 'amelie_test',
}
}
}

Expand Down

0 comments on commit 5c113ee

Please sign in to comment.