Skip to content

Commit c116b31

Browse files
committed
test: migrate file validate feature to identifyMethods
Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com> (cherry picked from commit b7e920a)
1 parent bd54ba7 commit c116b31

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tests/integration/features/file/validate.feature

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Feature: validate
1212
And user "signer1" exists
1313
When sending "post" to ocs "/apps/libresign/api/v1/request-signature"
1414
| file | {"url":"<BASE_URL>/apps/libresign/develop/pdf"} |
15-
| signers | [{"identify":{"account":"signer1"}}] |
15+
| signers | [{"identifyMethods":[{"method":"account","value":"signer1"}]}] |
1616
| name | Document Name |
1717
Then the response should have a status code 200
1818
And as user "signer1"
@@ -54,7 +54,7 @@ Feature: validate
5454

5555
When sending "post" to ocs "/apps/libresign/api/v1/request-signature"
5656
| file | {"url":"<BASE_URL>/apps/libresign/develop/pdf"} |
57-
| signers | [{"identify":{"account":"admin"}}] |
57+
| signers | [{"identifyMethods":[{"method":"account","value":"admin"}]}] |
5858
| name | document |
5959
And the response should have a status code 200
6060
And sending "get" to ocs "/apps/libresign/api/v1/file/list?details=1"

0 commit comments

Comments
 (0)