Skip to content

Commit 5532f76

Browse files
committed
change order of response
1 parent 77003c5 commit 5532f76

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

features/steps/eps_api_steps.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,5 +224,5 @@ def validator_response_matches_file(context, filename):
224224
expected_response = json.load(f)
225225
json_response = json.loads(context.response.content)
226226
ycm = YouchamaJsonDiffer(expected_response, json_response)
227-
diff_result = ycm.get_diff() # new API
227+
diff_result = ycm.get_diff()
228228
assert_that(diff_result).is_equal_to({"just4vis:pairs": []})

messages/examples/missing_dosage_instructions/response.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,15 @@
99
},
1010
{
1111
"url": "http://hl7.org/fhir/StructureDefinition/operationoutcome-issue-col",
12-
"valueInteger": 1063
12+
"valueInteger": 3274
1313
}
1414
],
1515
"severity": "warning",
1616
"code": "processing",
1717
"diagnostics": "Constraint failed: dom-6: 'A resource should have narrative for robust management' (defined in http://hl7.org/fhir/StructureDefinition/DomainResource) (Best Practice Recommendation)",
1818
"location": [
19-
"Bundle.entry[0].resource/*MessageHeader/null*/",
20-
"Line[1] Col[1063]"
19+
"Bundle.entry[1].resource/*MedicationRequest/null*/",
20+
"Line[1] Col[3274]"
2121
]
2222
},
2323
{
@@ -28,15 +28,15 @@
2828
},
2929
{
3030
"url": "http://hl7.org/fhir/StructureDefinition/operationoutcome-issue-col",
31-
"valueInteger": 3274
31+
"valueInteger": 1063
3232
}
3333
],
3434
"severity": "warning",
3535
"code": "processing",
3636
"diagnostics": "Constraint failed: dom-6: 'A resource should have narrative for robust management' (defined in http://hl7.org/fhir/StructureDefinition/DomainResource) (Best Practice Recommendation)",
3737
"location": [
38-
"Bundle.entry[1].resource/*MedicationRequest/null*/",
39-
"Line[1] Col[3274]"
38+
"Bundle.entry[0].resource/*MessageHeader/null*/",
39+
"Line[1] Col[1063]"
4040
]
4141
},
4242
{

0 commit comments

Comments
 (0)