summaryrefslogtreecommitdiff
path: root/tests/schema
diff options
context:
space:
mode:
authorKelvin Adigwu <kelvinadigwu@yahoo.com>2025-04-05 17:54:08 +0100
committerGitHub <noreply@github.com>2025-04-05 18:54:08 +0200
commit25f97e7bcf2e5064258e07b970b4bdef5fddce51 (patch)
tree705947bf45f748192d1a85925c2416d7356b991b /tests/schema
parent02e7a162a03801fce34c78d5d75fef0aaf997ab5 (diff)
Fixed #36156 -- Added supports_json_field check in test_db_default_output_field_resolving test.
Diffstat (limited to 'tests/schema')
-rw-r--r--tests/schema/tests.py1
1 files changed, 1 insertions, 0 deletions
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):