Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

File constraint #153

Merged
merged 4 commits into from
Feb 25, 2022
Merged

File constraint #153

merged 4 commits into from
Feb 25, 2022

Conversation

Blacksmoke16
Copy link
Member

Adds a new constraint to validate a provided file, including:

  • Max size
  • Not empty
  • Specific MIME type
  • Not readable
  • Not found

Fix expected/got when asserting violations
@Blacksmoke16 Blacksmoke16 merged commit 7d8d125 into master Feb 25, 2022
@Blacksmoke16 Blacksmoke16 deleted the file-validator branch February 25, 2022 01:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

Successfully merging this pull request may close these issues.

1 participant