Please sign in to comment.
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.
- Loading branch information...
Showing with 17 additions and 7 deletions.