mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
Fixed #18392 -- Changed default mysql encoding to "utf8mb4".
This commit is contained in:
@@ -112,7 +112,7 @@ class MySqlDbshellCommandTestCase(SimpleTestCase):
|
||||
"--user=someuser",
|
||||
"--host=somehost",
|
||||
"--port=444",
|
||||
"--default-character-set=utf8",
|
||||
"--default-character-set=utf8mb4",
|
||||
"somedbname",
|
||||
]
|
||||
expected_env = {"MYSQL_PWD": "somepassword"}
|
||||
@@ -124,7 +124,7 @@ class MySqlDbshellCommandTestCase(SimpleTestCase):
|
||||
"PASSWORD": "somepassword",
|
||||
"HOST": "somehost",
|
||||
"PORT": 444,
|
||||
"OPTIONS": {"charset": "utf8"},
|
||||
"OPTIONS": {"charset": "utf8mb4"},
|
||||
}
|
||||
),
|
||||
(expected_args, expected_env),
|
||||
|
||||
Reference in New Issue
Block a user