mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-10-22 19:54:50 +03:00
Update tests/test_serializer.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
parent
edaf07b45d
commit
04703dca8a
|
@ -793,7 +793,7 @@ class TestWarningManyToMany(TestCase):
|
||||||
model = ManyToManySource
|
model = ManyToManySource
|
||||||
fields = '__all__'
|
fields = '__all__'
|
||||||
|
|
||||||
# Instantiates with invalid data (not value for a ManyToMany field to force using the default)
|
# Instantiates with invalid data (no value for a ManyToMany field to force using the default)
|
||||||
serializer = ManyToManySourceSerializer(data={
|
serializer = ManyToManySourceSerializer(data={
|
||||||
"name": "Invalid Example",
|
"name": "Invalid Example",
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in New Issue
Block a user