Skip to content

Commit e049a9f

Browse files
committed
test: align admin policy response assertions
Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
1 parent b20b423 commit e049a9f

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

tests/integration/features/admin/policies.feature

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,10 +42,11 @@ Feature: admin/policies
4242
| value | parallel |
4343
Then the response should have a status code 200
4444
And the response should be a JSON array with the following mandatory values
45-
| key | value |
46-
| (jq).ocs.data.policy.policyKey | signature_flow |
47-
| (jq).ocs.data.policy.sourceScope | user |
48-
| (jq).ocs.data.policy.effectiveValue| parallel |
45+
| key | value |
46+
| (jq).ocs.data.policy.policyKey | signature_flow |
47+
| (jq).ocs.data.policy.scope | user |
48+
| (jq).ocs.data.policy.targetId | signer1 |
49+
| (jq).ocs.data.policy.value | parallel |
4950

5051
Given as user "signer1"
5152
When sending "get" to ocs "/apps/libresign/api/v1/policies/effective"

0 commit comments

Comments
 (0)