File tree Expand file tree Collapse file tree
tests/integration/features/file Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -12,6 +12,12 @@ Feature: file-thumbnail
1212 And the response should have a status code 200
1313 And sending "get" to ocs "/apps/libresign/api/v1/file/list?details=1"
1414 And fetch field "(FILE_ID)ocs.data.data.0.id" from previous JSON response
15+ And as user "admin"
16+ When sending "get" to ocs "/apps/libresign/api/v1/file/thumbnail/file_id/<FILE_ID>"
17+ Then the response should have a status code 200
18+ And as user "signer1"
19+ When sending "get" to ocs "/apps/libresign/api/v1/file/thumbnail/file_id/<FILE_ID>"
20+ Then the response should have a status code 200
1521 # x=0 triggers a deterministic 400 in controller for authorized users,
1622 # while unauthorized users are blocked earlier by middleware with 403.
1723 And as user "admin"
You can’t perform that action at this time.
0 commit comments