mirror of
https://github.com/django/django.git
synced 2025-08-04 02:48:35 +00:00
Fixed #34850 -- Dropped support for MariaDB 10.4.
This commit is contained in:
parent
7c1cf585e8
commit
3623a0c079
7 changed files with 16 additions and 34 deletions
|
@ -106,8 +106,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, 3)
|
||||
msg = "MariaDB 10.4 or later is required (found 10.3)."
|
||||
mocked_get_database_version.return_value = (10, 4)
|
||||
msg = "MariaDB 10.5 or later is required (found 10.4)."
|
||||
else:
|
||||
mocked_get_database_version.return_value = (8, 0, 4)
|
||||
msg = "MySQL 8.0.11 or later is required (found 8.0.4)."
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue