Skip to content

Commit bd54ba7

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

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

tests/integration/features/file/list.feature

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Feature: file-list
77
And set the email of user "signer2" to ""
88
And sending "post" to ocs "/apps/libresign/api/v1/request-signature"
99
| file | {"url":"<BASE_URL>/apps/libresign/develop/pdf"} |
10-
| signers | [{"identify":{"email":"signer1@domain.test"}},{"identify":{"account":"signer2"}}] |
10+
| signers | [{"identifyMethods":[{"method":"email","value":"signer1@domain.test"}]},{"identifyMethods":[{"method":"account","value":"signer2"}]}] |
1111
| name | document |
1212
And the response should have a status code 200
1313
When sending "get" to ocs "/apps/libresign/api/v1/file/list?details=1"
@@ -48,25 +48,25 @@ Feature: file-list
4848
| value | (string)[{"name":"email","enabled":true,"mandatory":true,"can_create_account":false}] |
4949
And sending "post" to ocs "/apps/libresign/api/v1/request-signature"
5050
| file | {"url":"<BASE_URL>/apps/libresign/develop/pdf"} |
51-
| signers | [{"identify":{"email":"signer1@domain.test"}}] |
51+
| signers | [{"identifyMethods":[{"method":"email","value":"signer1@domain.test"}]}] |
5252
| name | document |
5353
And the response should have a status code 200
5454
And sending "post" to ocs "/apps/libresign/api/v1/request-signature"
5555
| file | {"url":"<BASE_URL>/apps/libresign/develop/pdf"} |
56-
| signers | [{"identify":{"email":"signer1@domain.test"}}] |
56+
| signers | [{"identifyMethods":[{"method":"email","value":"signer1@domain.test"}]}] |
5757
| name | document |
5858
And the response should have a status code 200
5959
And sending "post" to ocs "/apps/libresign/api/v1/request-signature"
6060
| file | {"url":"<BASE_URL>/apps/libresign/develop/pdf"} |
61-
| signers | [{"identify":{"email":"signer1@domain.test"}}] |
61+
| signers | [{"identifyMethods":[{"method":"email","value":"signer1@domain.test"}]}] |
6262
| name | document |
6363
And sending "post" to ocs "/apps/libresign/api/v1/request-signature"
6464
| file | {"url":"<BASE_URL>/apps/libresign/develop/pdf"} |
65-
| signers | [{"identify":{"email":"signer1@domain.test"}}] |
65+
| signers | [{"identifyMethods":[{"method":"email","value":"signer1@domain.test"}]}] |
6666
| name | document |
6767
And sending "post" to ocs "/apps/libresign/api/v1/request-signature"
6868
| file | {"url":"<BASE_URL>/apps/libresign/develop/pdf"} |
69-
| signers | [{"identify":{"email":"signer1@domain.test"}}] |
69+
| signers | [{"identifyMethods":[{"method":"email","value":"signer1@domain.test"}]}] |
7070
| name | document |
7171
And the response should have a status code 200
7272
# first page

0 commit comments

Comments
 (0)