summaryrefslogtreecommitdiff
path: root/tests/db_functions
diff options
context:
space:
mode:
authorMariusz Felisiak <felisiak.mariusz@gmail.com>2018-07-25 08:00:11 +0200
committerGitHub <noreply@github.com>2018-07-25 08:00:11 +0200
commitac25dd1f8d48accc765c05aebb47c427e51f3255 (patch)
tree0d87ea030e749a68a27f510a3c3ed041f5f2ddba /tests/db_functions
parent6429961418b0da70e915fcb61f4cf41977cf818a (diff)
Fixed #29569 -- Fixed Cast() with AutoField and BigAutoField.
Diffstat (limited to 'tests/db_functions')
-rw-r--r--tests/db_functions/test_cast.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/db_functions/test_cast.py b/tests/db_functions/test_cast.py
index d66bec302f..7cc6bdce0d 100644
--- a/tests/db_functions/test_cast.py
+++ b/tests/db_functions/test_cast.py
@@ -39,6 +39,8 @@ class CastTests(TestCase):
def test_cast_to_integer(self):
for field_class in (
+ models.AutoField,
+ models.BigAutoField,
models.IntegerField,
models.BigIntegerField,
models.SmallIntegerField,