Skip to content

Commit 7d37727

Browse files
committed
NRL-1053 fix failure test
1 parent 311e522 commit 7d37727

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

tests/features/consumer/searchPostDocumentReference-failure.feature

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -194,14 +194,14 @@ Feature: Consumer - searchDocumentReference - Failure Scenarios
194194

195195
Scenario: Search for multiple DocumentReferences by NHS number and an invalid Category
196196
Given the application 'DataShare' (ID 'z00z-y11y-x22x') is registered to access the API
197-
And the organisation 'RX898' is authorised to access pointer types:
197+
When consumer 'RX898' searches for DocumentReferences using POST with request body:
198198
| system | value |
199199
| http://snomed.info/sct | 736253002 |
200200
| http://snomed.info/sct | 1363501000000100 |
201-
When consumer 'RX898' searches for DocumentReferences with parameters:
202-
| parameter | value |
203-
| subject | 9278693472 |
204-
| category | http://incorrect.info/sct\|736253002 |
201+
When consumer 'RX898' searches for DocumentReferences with body:
202+
| key | value |
203+
| subject | 9278693472 |
204+
| category | http://incorrect.info/sct\|736253002 |
205205
Then the response status code is 400
206206
And the response is an OperationOutcome with 1 issue
207207
And the OperationOutcome contains the issue:

0 commit comments

Comments
 (0)