mirror of
https://github.com/django/django.git
synced 2025-08-04 02:48:35 +00:00
Fixed #36105 -- Dropped support for MariaDB 10.5.
This commit is contained in:
parent
0bac41fc7e
commit
17160819f3
6 changed files with 18 additions and 49 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, 4)
|
||||
msg = "MariaDB 10.5 or later is required (found 10.4)."
|
||||
mocked_get_database_version.return_value = (10, 5)
|
||||
msg = "MariaDB 10.6 or later is required (found 10.5)."
|
||||
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