Skip to content

Commit 745fced

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

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

tests/integration/features/sign/signed.feature

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Feature: signed
1515
And the response should have a status code 200
1616
When sending "post" to ocs "/apps/libresign/api/v1/request-signature"
1717
| file | {"url":"<BASE_URL>/apps/libresign/develop/pdf"} |
18-
| signers | [{"displayName": "Signer Name","description": "Please, sign this document","identify": {"account": "signer1"}}] |
18+
| signers | [{"displayName": "Signer Name","description": "Please, sign this document","identifyMethods": [{"method": "account", "value": "signer1"}]}] |
1919
| name | Document Name |
2020
And the response should have a status code 200
2121
And as user "signer1"
@@ -68,7 +68,7 @@ Feature: signed
6868
And reset activity of user "admin"
6969
When sending "post" to ocs "/apps/libresign/api/v1/request-signature"
7070
| file | {"url":"<BASE_URL>/apps/libresign/develop/pdf"} |
71-
| signers | [{"displayName": "Signer Name","identify": {"account": "signer1"}},{"displayName": "Admin","identify": {"account": "admin"}}] |
71+
| signers | [{"displayName": "Signer Name","identifyMethods": [{"method": "account", "value": "signer1"}]},{"displayName": "Admin","identifyMethods": [{"method": "account", "value": "admin"}]}] |
7272
| name | Document Name |
7373
And the response should have a status code 200
7474
And as user "signer1"
@@ -133,7 +133,7 @@ Feature: signed
133133
And reset activity of user "admin"
134134
When sending "post" to ocs "/apps/libresign/api/v1/request-signature"
135135
| file | {"url":"<BASE_URL>/apps/libresign/develop/pdf"} |
136-
| signers | [{"displayName": "Signer Name","identify": {"account": "signer1"}},{"displayName": "Admin","identify": {"account": "admin"}}] |
136+
| signers | [{"displayName": "Signer Name","identifyMethods": [{"method": "account", "value": "signer1"}]},{"displayName": "Admin","identifyMethods": [{"method": "account", "value": "admin"}]}] |
137137
| name | Document Name |
138138
And the response should have a status code 200
139139
And as user "signer1"
@@ -188,7 +188,7 @@ Feature: signed
188188
And reset activity of user "admin"
189189
When sending "post" to ocs "/apps/libresign/api/v1/request-signature"
190190
| file | {"url":"<BASE_URL>/apps/libresign/develop/pdf"} |
191-
| signers | [{"displayName": "Signer Name","identify": {"email": "unauthenticated@email.tld"}}] |
191+
| signers | [{"displayName": "Signer Name","identifyMethods": [{"method": "email", "value": "unauthenticated@email.tld"}]}] |
192192
| name | Document Name |
193193
And the response should have a status code 200
194194
And I open the latest email to "unauthenticated@email.tld" with subject "LibreSign: There is a file for you to sign"

0 commit comments

Comments
 (0)