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

Refs #33379 -- Fixed minimum supported version of MariaDB.

This commit is contained in:
Mariusz Felisiak
2022-05-17 13:16:23 +02:00
committed by Carlton Gibson
parent 3c6f1fd1f8
commit 2cec020f5b
2 changed files with 3 additions and 3 deletions

View File

@@ -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, 1)
msg = "MariaDB 10.2 or later is required (found 10.1)."
mocked_get_database_version.return_value = (10, 2)
msg = "MariaDB 10.3 or later is required (found 10.2)."
else:
mocked_get_database_version.return_value = (5, 6)
msg = "MySQL 5.7 or later is required (found 5.6)."