Skip to content

Commit 95de009

Browse files
fix(integration): use admin TSA API with <TSA_URL> placeholder in signed scenario
Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
1 parent df823ca commit 95de009

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

tests/integration/features/sign/signed.feature

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,10 @@ Feature: signed
99
And run the command "libresign:configure:openssl --cn=Common\ Name --c=BR --o=Organization --st=State\ of\ Company --l=City\ Name --ou=Organization\ Unit" with result code 0
1010
And run the command "config:app:set libresign add_footer --value=true --type=boolean" with result code 0
1111
And run the command "config:app:set libresign write_qrcode_on_footer --value=true --type=boolean" with result code 0
12-
And run the command "config:app:set libresign tsa_url --value=${LIBRESIGN_TSA_URL:-https://freetsa.org/tsr} --type=string" with result code 0
12+
And sending "post" to ocs "/apps/libresign/api/v1/admin/tsa"
13+
| tsa_url | <TSA_URL> |
14+
| tsa_auth_type | none |
15+
And the response should have a status code 200
1316
And sending "post" to ocs "/apps/provisioning_api/api/v1/config/apps/libresign/identify_methods"
1417
| value | (string)[{"name":"account","enabled":true,"mandatory":true,"signatureMethods":{"password":{"name":"password","enabled":true}},"signatureMethodEnabled":"password"}] |
1518
And the response should have a status code 200

0 commit comments

Comments
 (0)