summaryrefslogtreecommitdiff
path: root/tests/model_forms
diff options
context:
space:
mode:
authorSanderBeekhuis <sander.beekhuis@gmail.com>2022-04-13 08:31:23 +0200
committerGitHub <noreply@github.com>2022-04-13 08:31:23 +0200
commit27d52158b274bfd216db532c517da0f7c0ee1733 (patch)
treea44bf8b6cc0f355db89b570256c0713ab3ee7397 /tests/model_forms
parent856b52880194ec533fc45a57107bc0fb3387e786 (diff)
Fixed #33627 -- Improved nonexistent pk in ModelMultipleChoiceFieldTests.test_model_multiple_choice_field().
Diffstat (limited to 'tests/model_forms')
-rw-r--r--tests/model_forms/tests.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/model_forms/tests.py b/tests/model_forms/tests.py
index 13b871372e..0d54cead70 100644
--- a/tests/model_forms/tests.py
+++ b/tests/model_forms/tests.py
@@ -2098,7 +2098,7 @@ class ModelMultipleChoiceFieldTests(TestCase):
[self.c1, self.c2],
)
with self.assertRaises(ValidationError):
- f.clean(["100"])
+ f.clean(["0"])
with self.assertRaises(ValidationError):
f.clean("hello")
with self.assertRaises(ValidationError):