summaryrefslogtreecommitdiff
path: root/tests/postgres_tests
diff options
context:
space:
mode:
authorsage <laymonage@gmail.com>2019-10-17 11:36:39 +0200
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2019-10-17 12:30:29 +0200
commit6f82df69efa372fb4bddf272fff577850a09f1dc (patch)
tree719b621431e229fbc02bb2a70183a2a32d344d27 /tests/postgres_tests
parent187a64608d2a207dfc12fdd6816526e9550069b7 (diff)
Refs #12990 -- Moved CheckFieldDefaultMixin to the django.db.models.fields.mixins.
Diffstat (limited to 'tests/postgres_tests')
-rw-r--r--tests/postgres_tests/test_array.py2
-rw-r--r--tests/postgres_tests/test_hstore.py2
-rw-r--r--tests/postgres_tests/test_json.py2
3 files changed, 3 insertions, 3 deletions
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',
)
])