Skip to content

Commit 617a9f2

Browse files
committed
NRL-638 implement PR comments
1 parent b6c7669 commit 617a9f2

File tree

3 files changed

+19
-603
lines changed

3 files changed

+19
-603
lines changed

tests/features/producer/deleteDocumentReference-failure.feature

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,9 @@ Feature: Producer - deleteDocumentReference - Failure Scenarios
55
Scenario: Cannot delete another organisation's Document Pointer
66
Given the application 'DataShare' (ID 'z00z-y11y-x22x') is registered to access the API
77
And the organisation 'DK94' is authorised to access pointer types:
8-
| system | value |
9-
| http://snomed.info/sct | 736253002 |
8+
| system | value |
9+
| http://snomed.info/sct | 736253002 |
10+
| http://snomed.info/sct | 861421000000109 |
1011
And a DocumentReference resource exists with values:
1112
| property | value |
1213
| id | OC84-111-DeleteTest-NotYourPointer |
@@ -16,7 +17,7 @@ Feature: Producer - deleteDocumentReference - Failure Scenarios
1617
| category | 734163000 |
1718
| contentType | application/pdf |
1819
| url | https://example.org/my-doc.pdf |
19-
| custodian | DK94 |
20+
| custodian | OC84 |
2021
| author | N64 |
2122
When producer 'DK94' requests to delete DocumentReference with id 'OC84-111-DeleteTest-NotYourPointer'
2223
Then the response status code is 403

tests/features/producer/deleteDocumentReference-success.feature

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,9 @@ Feature: Producer - deleteDocumentReference - Success Scenarios
44
Scenario: Successfully delete a Document Pointer by logical ID
55
Given the application 'DataShare' (ID 'z00z-y11y-x22x') is registered to access the API
66
And the organisation 'DK94' is authorised to access pointer types:
7-
| system | value |
8-
| http://snomed.info/sct | 736253002 |
7+
| system | value |
8+
| http://snomed.info/sct | 736253002 |
9+
| http://snomed.info/sct | 861421000000109 |
910
And a DocumentReference resource exists with values:
1011
| property | value |
1112
| id | DK94-111-DeleteDocRefTest1 |

0 commit comments

Comments
 (0)