Skip to content

Commit

Permalink
fix: integration tests
Browse files Browse the repository at this point in the history
Signed-off-by: Vitor Mattos <vitor@php.rio>
  • Loading branch information
vitormattos committed Jan 1, 2025
1 parent 308fa3c commit e02f3a3
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions tests/integration/features/account/signature.feature
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ Feature: account/signature
| password | password |
Then the response should be a JSON array with the following mandatory values
| key | value |
| (jq).ocs.data.name | /C=BR/ST=State of Company/L=City Name/O=Organization/OU=Organization Unit/CN=signer1-displayname |
| (jq).ocs.data.name | /C=BR/ST=State of Company/L=City Name/O=Organization/OU=Organization Unit/uid=account:signer1/CN=signer1-displayname |
| (jq).ocs.data.issuer\|length | 6 |
| (jq).ocs.data.issuer.CN | Common Name |
| (jq).ocs.data.issuer.C | BR |
Expand Down Expand Up @@ -119,21 +119,22 @@ Feature: account/signature
| password | password |
Then the response should be a JSON array with the following mandatory values
| key | value |
| (jq).ocs.data.name | /C=BR/ST=State of Company/L=City Name/O=Organization/OU=Organization Unit/CN=signer1-displayname |
| (jq).ocs.data.name | /C=BR/ST=State of Company/L=City Name/O=Organization/OU=Organization Unit/uid=account:signer1/CN=signer1-displayname |
| (jq).ocs.data.issuer\|length | 6 |
| (jq).ocs.data.issuer.CN | Common Name |
| (jq).ocs.data.issuer.C | BR |
| (jq).ocs.data.issuer.ST | State of Company |
| (jq).ocs.data.issuer.L | City Name |
| (jq).ocs.data.issuer.O | Organization |
| (jq).ocs.data.issuer.OU | Organization Unit |
| (jq).ocs.data.subject\|length | 6 |
| (jq).ocs.data.subject\|length | 7 |
| (jq).ocs.data.subject.CN | signer1-displayname |
| (jq).ocs.data.subject.C | BR |
| (jq).ocs.data.subject.ST | State of Company |
| (jq).ocs.data.subject.L | City Name |
| (jq).ocs.data.subject.O | Organization |
| (jq).ocs.data.subject.OU | Organization Unit |
| (jq).ocs.data.subject.uid | account:signer1 |
| (jq).ocs.data.extensions.basicConstraints | CA:FALSE |
| (jq).ocs.data.extensions.subjectAltName | email:signer@domain.test |
| (jq).ocs.data.extensions.keyUsage | Digital Signature, Key Encipherment, Certificate Sign |
Expand Down

0 comments on commit e02f3a3

Please sign in to comment.