1
0
mirror of https://github.com/django/django.git synced 2025-10-23 21:59:11 +00:00

Fixed #34850 -- Dropped support for MariaDB 10.4.

This commit is contained in:
Mariusz Felisiak
2023-09-19 15:06:05 +02:00
committed by GitHub
parent 7c1cf585e8
commit 3623a0c079
7 changed files with 16 additions and 34 deletions

View File

@@ -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)."