Current validation check in AttachmentContentTypeValidator is simply wrong, it…
Current validation check in AttachmentContentTypeValidator is simply wrong, it will add an error if any of the allowed_types fails comparison with value, so it will pass only if value is either empty or equals to each and every one of allowed_types. Add test to check that validation passes if even one of content types match.
Showing
Please
register
or
sign in
to comment