mirror of
https://github.com/django/django.git
synced 2025-10-24 14:16:09 +00:00
Refs #31369 -- Removed models.NullBooleanField per deprecation timeline.
This commit is contained in:
@@ -36,8 +36,8 @@ class ValidationMessagesTest(TestCase):
|
||||
self._test_validation_messages(f, 'fõo', ['“fõo” value must be a decimal number.'])
|
||||
|
||||
def test_null_boolean_field_raises_error_message(self):
|
||||
f = models.NullBooleanField()
|
||||
self._test_validation_messages(f, 'fõo', ['“fõo” value must be either None, True or False.'])
|
||||
f = models.BooleanField(null=True)
|
||||
self._test_validation_messages(f, 'fõo', ['“fõo” value must be either True, False, or None.'])
|
||||
|
||||
def test_date_field_raises_error_message(self):
|
||||
f = models.DateField()
|
||||
|
||||
Reference in New Issue
Block a user