Skip to content

Commit d016a7a

Browse files
committed
test: migrate sign cancel feature to identifyMethods
Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com> (cherry picked from commit 72312c1)
1 parent 033cbd2 commit d016a7a

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

tests/integration/features/sign/cancel.feature

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Feature: sign-request-cancel
66
And run the command "libresign:configure:openssl --cn test" with result code 0
77
And sending "post" to ocs "/apps/libresign/api/v1/request-signature"
88
| file | {"url":"<BASE_URL>/apps/libresign/develop/pdf"} |
9-
| signers | [{"identify":{"account":"signer1"}}] |
9+
| signers | [{"identifyMethods":[{"method":"account","value":"signer1"}]}] |
1010
| name | document |
1111
And the response should have a status code 200
1212
And sending "get" to ocs "/apps/libresign/api/v1/file/list?details=1"
@@ -27,7 +27,7 @@ Feature: sign-request-cancel
2727
And run the command "libresign:configure:openssl --cn test" with result code 0
2828
And sending "post" to ocs "/apps/libresign/api/v1/request-signature"
2929
| file | {"url":"<BASE_URL>/apps/libresign/develop/pdf"} |
30-
| signers | [{"identify":{"account":"signer1"},"notify":false}] |
30+
| signers | [{"identifyMethods":[{"method":"account","value":"signer1"}],"notify":false}] |
3131
| name | document |
3232
| status | 0 |
3333
And the response should have a status code 200
@@ -48,7 +48,7 @@ Feature: sign-request-cancel
4848
And run the command "libresign:configure:openssl --cn test" with result code 0
4949
And sending "post" to ocs "/apps/libresign/api/v1/request-signature"
5050
| file | {"url":"<BASE_URL>/apps/libresign/develop/pdf"} |
51-
| signers | [{"identify":{"account":"signer1"}}] |
51+
| signers | [{"identifyMethods":[{"method":"account","value":"signer1"}]}] |
5252
| name | document |
5353
When sending "get" to ocs "/apps/libresign/api/v1/file/list?details=1"
5454
And fetch field "(FILE_ID)ocs.data.data.0.id" from previous JSON response
@@ -64,7 +64,7 @@ Feature: sign-request-cancel
6464
And run the command "libresign:configure:openssl --cn test" with result code 0
6565
And sending "post" to ocs "/apps/libresign/api/v1/request-signature"
6666
| file | {"url":"<BASE_URL>/apps/libresign/develop/pdf"} |
67-
| signers | [{"identify":{"account":"signer1"}}] |
67+
| signers | [{"identifyMethods":[{"method":"account","value":"signer1"}]}] |
6868
| name | document |
6969
And the response should have a status code 200
7070
When sending "get" to ocs "/apps/libresign/api/v1/file/list?details=1"

0 commit comments

Comments
 (0)