-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
API acceptance tests - do not only check hard-coded mime type #32702
Labels
Comments
phil-davis
changed the title
acceptance tests - do not only check hard-coded mime type
API acceptance tests - do not only check hard-coded mime type
Sep 24, 2018
10 tasks
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
in
Sharing.php
several methods check the mime type of a downloaded filecheckLastPublicSharedFileDownload()
,checkLastPublicSharedFileWithPasswordDownload()
,theUserShouldBeAbleToDownloadTheFileUsingTheSharingApi()
but "text/plain" is hardcoded as mime-type
make that more flexible to be able to check also other mime-types
The text was updated successfully, but these errors were encountered: