Skip to content

Commit d77b763

Browse files
committed
test: migrate tsa feature to identifyMethods
Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com> (cherry picked from commit 9c0a4b9)
1 parent 745fced commit d77b763

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tests/integration/features/sign/tsa.feature

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Feature: TSA Integration - End-to-End Workflow
1717
And the response should have a status code 200
1818
When sending "post" to ocs "/apps/libresign/api/v1/request-signature"
1919
| file | {"url":"<BASE_URL>/apps/libresign/develop/pdf"} |
20-
| signers | [{"displayName": "TSA Signer","identify": {"account": "signer1"}}] |
20+
| signers | [{"displayName": "TSA Signer","identifyMethods": [{"method": "account", "value": "signer1"}]}] |
2121
| name | TSA Document Test |
2222
Then the response should have a status code 200
2323
And as user "signer1"
@@ -63,7 +63,7 @@ Feature: TSA Integration - End-to-End Workflow
6363
| value | (string)[{"name":"account","enabled":true,"mandatory":true,"signatureMethods":{"clickToSign":{"enabled":true}},"signatureMethodEnabled":"clickToSign"}] |
6464
When sending "post" to ocs "/apps/libresign/api/v1/request-signature"
6565
| file | {"url":"<BASE_URL>/apps/libresign/develop/pdf"} |
66-
| signers | [{"identify": {"account": "signer1"}}] |
66+
| signers | [{"identifyMethods": [{"method": "account", "value": "signer1"}]}] |
6767
| name | TSA Error Test |
6868
And as user "signer1"
6969
And sending "get" to ocs "/apps/libresign/api/v1/file/list?details=1"

0 commit comments

Comments
 (0)