Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
Problem/Motivation
@larowlan suggested in #2359675: File field's Maximum upload size always passes validation to write a test case for when the validation of the maximum upload size of a field is '300 0'.
This validation must return FALSE
Proposed resolution
Add ['300 0', FALSE]
, to public function providerTestValidate()
Comment | File | Size | Author |
---|---|---|---|
#3 | 3218711-2.patch | 497 bytes | paulocs |
Comments
Comment #2
paulocsComment #3
paulocsComment #4
guilhermevp CreditAttribution: guilhermevp at CI&T commentedSeems simple enough, works as intended. Moving to RTBC.
Comment #6
guilhermevp CreditAttribution: guilhermevp at CI&T commentedTest fail is unrelated to the patch, just retesting to be sure, if it passes, back to RTBC.
Comment #7
guilhermevp CreditAttribution: guilhermevp at CI&T commentedMoving back!
Comment #9
alexpottComment #10
alexpottCommitted c1c5f34 and pushed to 9.3.x. Thanks!