From 25f97e7bcf2e5064258e07b970b4bdef5fddce51 Mon Sep 17 00:00:00 2001 From: Kelvin Adigwu Date: Sat, 5 Apr 2025 17:54:08 +0100 Subject: [PATCH] Fixed #36156 -- Added supports_json_field check in test_db_default_output_field_resolving test. --- tests/schema/tests.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/schema/tests.py b/tests/schema/tests.py index f734525dcc..dbed4b709d 100644 --- a/tests/schema/tests.py +++ b/tests/schema/tests.py @@ -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):