1
0
mirror of https://github.com/django/django.git synced 2025-04-24 01:04:39 +00:00

Fixed #36156 -- Added supports_json_field check in test_db_default_output_field_resolving test.

This commit is contained in:
Kelvin Adigwu 2025-04-05 17:54:08 +01:00 committed by GitHub
parent 02e7a162a0
commit 25f97e7bcf
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -2422,6 +2422,7 @@ class SchemaTests(TransactionTestCase):
with connection.schema_editor() as editor, self.assertNumQueries(0):
editor.alter_field(Author, Author._meta.get_field("name"), new_field)
@skipUnlessDBFeature("supports_json_field")
@isolate_apps("schema")
def test_db_default_output_field_resolving(self):
class Author(Model):