From 6f82df69efa372fb4bddf272fff577850a09f1dc Mon Sep 17 00:00:00 2001 From: sage Date: Thu, 17 Oct 2019 11:36:39 +0200 Subject: Refs #12990 -- Moved CheckFieldDefaultMixin to the django.db.models.fields.mixins. --- tests/postgres_tests/test_array.py | 2 +- tests/postgres_tests/test_hstore.py | 2 +- tests/postgres_tests/test_json.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'tests/postgres_tests') diff --git a/tests/postgres_tests/test_array.py b/tests/postgres_tests/test_array.py index 42885e61f6..3f54110447 100644 --- a/tests/postgres_tests/test_array.py +++ b/tests/postgres_tests/test_array.py @@ -551,7 +551,7 @@ class TestChecks(PostgreSQLSimpleTestCase): ), hint='Use a callable instead, e.g., use `list` instead of `[]`.', obj=MyModel._meta.get_field('field'), - id='postgres.E003', + id='fields.E010', ) ]) diff --git a/tests/postgres_tests/test_hstore.py b/tests/postgres_tests/test_hstore.py index a3fae1ec66..dbb1357c41 100644 --- a/tests/postgres_tests/test_hstore.py +++ b/tests/postgres_tests/test_hstore.py @@ -231,7 +231,7 @@ class TestChecks(PostgreSQLSimpleTestCase): ), hint='Use a callable instead, e.g., use `dict` instead of `{}`.', obj=MyModel._meta.get_field('field'), - id='postgres.E003', + id='fields.E010', ) ]) diff --git a/tests/postgres_tests/test_json.py b/tests/postgres_tests/test_json.py index 956304d6f5..0ffa05f981 100644 --- a/tests/postgres_tests/test_json.py +++ b/tests/postgres_tests/test_json.py @@ -429,7 +429,7 @@ class TestChecks(PostgreSQLSimpleTestCase): ), hint='Use a callable instead, e.g., use `dict` instead of `{}`.', obj=MyModel._meta.get_field('field'), - id='postgres.E003', + id='fields.E010', ) ]) -- cgit v1.3