mirror of
https://github.com/django/django.git
synced 2025-10-07 01:00:47 +00:00
[4.1.x] Refs #33379 -- Fixed minimum supported version of MariaDB.
Backport of 2cec020f5b
from main
This commit is contained in:
parent
d1f1a0168a
commit
fad2e59808
2 changed files with 3 additions and 3 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, 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)."
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue