Skip to content

File constraint#153

Merged
Blacksmoke16 merged 4 commits intomasterfrom
file-validator
Feb 25, 2022
Merged

File constraint#153
Blacksmoke16 merged 4 commits intomasterfrom
file-validator

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