mirror of
https://github.com/gotenberg/gotenberg.git
synced 2026-08-08 00:22:14 +01:00
chore(pdfengines): better custom error message if invalid args
This commit is contained in:
@@ -54,7 +54,7 @@ Feature: /forms/pdfengines/encrypt
|
||||
Then the response status code should be 400
|
||||
Then the response body should match string:
|
||||
"""
|
||||
Invalid form data: both 'userPassword' and 'ownerPassword' form fields must be provided and different
|
||||
pdftk: both 'userPassword' and 'ownerPassword' must be provided and different. Consider switching to another PDF engine if this behavior does not work with your workflow
|
||||
"""
|
||||
|
||||
Scenario: POST /forms/pdfengines/encrypt (PDFtk - both user and owner passwords)
|
||||
|
||||
Reference in New Issue
Block a user