mirror of
https://github.com/django/django.git
synced 2025-07-12 07:45:11 +00:00
Fixed #33713 -- Dropped support for MariaDB 10.3.
This commit is contained in:
parent
2cec020f5b
commit
19297de2fe
5 changed files with 17 additions and 14 deletions
|
@ -107,8 +107,8 @@ class Tests(TestCase):
|
|||
@mock.patch.object(connection, "get_database_version")
|
||||
def test_check_database_version_supported(self, mocked_get_database_version):
|
||||
if connection.mysql_is_mariadb:
|
||||
mocked_get_database_version.return_value = (10, 2)
|
||||
msg = "MariaDB 10.3 or later is required (found 10.2)."
|
||||
mocked_get_database_version.return_value = (10, 3)
|
||||
msg = "MariaDB 10.4 or later is required (found 10.3)."
|
||||
else:
|
||||
mocked_get_database_version.return_value = (5, 6)
|
||||
msg = "MySQL 5.7 or later is required (found 5.6)."
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue