Skip to content

Commit fd939bf

Browse files
committed
test: migrate sequential signing feature to identifyMethods
Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com> (cherry picked from commit 06f72e6)
1 parent d216821 commit fd939bf

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tests/integration/features/sign/sequential_signing.feature

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Feature: sequential-signing
1515
And user "signer2" exists
1616
When sending "post" to ocs "/apps/libresign/api/v1/request-signature"
1717
| file | {"url":"<BASE_URL>/apps/libresign/develop/pdf"} |
18-
| signers | [{"identify":{"account":"signer1"}},{"identify":{"account":"signer2"}}] |
18+
| signers | [{"identifyMethods":[{"method":"account","value":"signer1"}]},{"identifyMethods":[{"method":"account","value":"signer2"}]}] |
1919
| name | Parallel Document |
2020
Then the response should have a status code 200
2121
And as user "signer1"
@@ -42,7 +42,7 @@ Feature: sequential-signing
4242
And the response should have a status code 200
4343
When sending "post" to ocs "/apps/libresign/api/v1/request-signature"
4444
| file | {"url":"<BASE_URL>/apps/libresign/develop/pdf"} |
45-
| signers | [{"identify":{"account":"signer1"},"signingOrder":1},{"identify":{"account":"signer2"},"signingOrder":2}] |
45+
| signers | [{"identifyMethods":[{"method":"account","value":"signer1"}],"signingOrder":1},{"identifyMethods":[{"method":"account","value":"signer2"}],"signingOrder":2}] |
4646
| name | Sequential Document |
4747
Then the response should have a status code 200
4848
# Signer2 should NOT see the file yet (their sign_request is in DRAFT status)

0 commit comments

Comments
 (0)