Skip to content

Commit a2054bc

Browse files
committed
NRL-1993 fix app level feature test file
1 parent 6912498 commit a2054bc

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

tests/features/producer/v2-permissions-app-level renamed to tests/features/producer/v2-permissions-app-level.feature

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
1-
Feature: Producer v2 permissions by pointer type - Success and Failure Scenarios
1+
Feature: Producer v2 APP-LEVEL permissions by pointer type - Success and Failure Scenarios
22
For the v2 permissions model, permissions are resolved from a JSON file stored in the
33
nrlf_permissions Lambda layer. Permissions for the feature tests are baked into the layer by
44
`scripts/get_s3_permissions.py` at build time, so no dynamic seeding step is required for
55
success scenarios.
66

7-
87
Scenario: HAPPY PATH V2 Permissions with access for pointer type - createDocumentReference
98
Given the application 'ProducerTest001' (ID 'app-t001') is registered to access the API
109
When producer v2 'ORGA' creates a DocumentReference with values:
@@ -37,7 +36,7 @@ Feature: Producer v2 permissions by pointer type - Success and Failure Scenarios
3736
}
3837
"""
3938
And the response has a Location header
40-
And the Location header starts with '/DocumentReference/RX898-'
39+
And the Location header starts with '/DocumentReference/ORGA-'
4140
And the resource in the Location header exists with values:
4241
| property | value |
4342
| subject | 9278693472 |
@@ -87,7 +86,7 @@ Feature: Producer v2 permissions by pointer type - Success and Failure Scenarios
8786
| property | value |
8887
| subject | 9278693472 |
8988
| status | current |
90-
| type | 736366004 |
89+
| type | 749001000000101 |
9190
| category | 734163000 |
9291
| custodian | ORGA |
9392
| author | HAR1 |

0 commit comments

Comments
 (0)