mirror of
https://github.com/django/django.git
synced 2025-06-05 11:39:13 +00:00
Fixed DataUploadMaxNumberOfFieldsFormPost.test_number_exceeded().
Follow up to 0ad9fa02e07b853003b3c2244d1015620705f020.
This commit is contained in:
parent
b1af2cca3a
commit
fb93363c49
@ -168,7 +168,7 @@ class DataUploadMaxNumberOfFieldsMultipartPost(SimpleTestCase):
|
|||||||
|
|
||||||
class DataUploadMaxNumberOfFieldsFormPost(SimpleTestCase):
|
class DataUploadMaxNumberOfFieldsFormPost(SimpleTestCase):
|
||||||
def setUp(self):
|
def setUp(self):
|
||||||
payload = FakePayload("\r\n".join(['a=1&a=2;a=3', '']))
|
payload = FakePayload("\r\n".join(['a=1&a=2&a=3', '']))
|
||||||
self.request = WSGIRequest({
|
self.request = WSGIRequest({
|
||||||
'REQUEST_METHOD': 'POST',
|
'REQUEST_METHOD': 'POST',
|
||||||
'CONTENT_TYPE': 'application/x-www-form-urlencoded',
|
'CONTENT_TYPE': 'application/x-www-form-urlencoded',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user