You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: features/eps_fhir/validator.feature
+3-2Lines changed: 3 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -11,12 +11,13 @@ Feature: I can call the validator endpoint
11
11
Scenario: I can call the validator endpoint with valid fhir with x-show-validation-warnings set to true
12
12
Given I am an authorised prescriber
13
13
When I make a valid request to the eps_fhir validator endpoint with show validation set to true
14
-
Then the response indicates a success
14
+
Then the response indicates a bad request
15
15
And the validator response has many information issue
16
+
And the validator response has 0 error issue
16
17
17
18
Scenario: I can call the validator endpoint with invalid fhir
18
19
Given I am an authorised prescriber
19
20
When I make a invalid request to the eps_fhir validator endpoint with show validation set to false
20
21
Then the response indicates a bad request
21
22
And the validator response has many error issue
22
-
And the validator response has error with diagnostic "HAPI-1861: Failed to parse JSON encoded FHIR content: HAPI-1859: Content does not appear to be FHIR JSON, first non-whitespace character was: '\"' (must be '{')"
23
+
And the validator response has error with diagnostic HAPI-1861: Failed to parse JSON encoded FHIR content: HAPI-1859: Content does not appear to be FHIR JSON, first non-whitespace character was: '\"' (must be '{')
Copy file name to clipboardExpand all lines: features/eps_fhir_dispensing/validator.feature
+2-1Lines changed: 2 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -13,10 +13,11 @@ Feature: I can call the validator endpoint
13
13
When I make a valid request to the eps_fhir validator endpoint with show validation set to true
14
14
Then the response indicates a success
15
15
And the validator response has many information issue
16
+
And the validator response has 0 error issue
16
17
17
18
Scenario: I can call the validator endpoint with invalid fhir
18
19
Given I am an authorised dispenser
19
20
When I make a invalid request to the eps_fhir validator endpoint with show validation set to false
20
21
Then the response indicates a bad request
21
22
And the validator response has many error issue
22
-
And the validator response has error with diagnostic "HAPI-1861: Failed to parse JSON encoded FHIR content: HAPI-1859: Content does not appear to be FHIR JSON, first non-whitespace character was: '\"' (must be '{')"
23
+
And the validator response has error with diagnostic HAPI-1861: Failed to parse JSON encoded FHIR content: HAPI-1859: Content does not appear to be FHIR JSON, first non-whitespace character was: '\"' (must be '{')
Copy file name to clipboardExpand all lines: features/eps_fhir_prescribing/validator.feature
+2-1Lines changed: 2 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -13,10 +13,11 @@ Feature: I can call the validator endpoint
13
13
When I make a valid request to the eps_fhir validator endpoint with show validation set to true
14
14
Then the response indicates a success
15
15
And the validator response has many information issue
16
+
And the validator response has 0 error issue
16
17
17
18
Scenario: I can call the validator endpoint with invalid fhir
18
19
Given I am an authorised prescriber
19
20
When I make a invalid request to the eps_fhir validator endpoint with show validation set to false
20
21
Then the response indicates a bad request
21
22
And the validator response has many error issue
22
-
And the validator response has error with diagnostic "HAPI-1861: Failed to parse JSON encoded FHIR content: HAPI-1859: Content does not appear to be FHIR JSON, first non-whitespace character was: '\"' (must be '{')"
23
+
And the validator response has error with diagnostic HAPI-1861: Failed to parse JSON encoded FHIR content: HAPI-1859: Content does not appear to be FHIR JSON, first non-whitespace character was: '\"' (must be '{')
0 commit comments