Skip to content

Commit 8fa5025

Browse files
committed
NRL-1165 reflect model changes in feature test scenarios
1 parent 96a927a commit 8fa5025

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

tests/features/producer/createDocumentReference-failure.feature

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -927,14 +927,13 @@ Feature: Producer - createDocumentReference - Failure Scenarios
927927
{
928928
"system": " system",
929929
"code": "1234",
930-
"display": "Tertiary care facility"
931930
}
932931
]
933932
}
934933
}
935934
"""
936935
Then the response status code is 400
937-
And the response is an OperationOutcome with 2 issues
936+
And the response is an OperationOutcome with 1 issue
938937
And the OperationOutcome contains the issue:
939938
"""
940939
{
@@ -949,9 +948,9 @@ Feature: Producer - createDocumentReference - Failure Scenarios
949948
}
950949
]
951950
},
952-
"diagnostics": "Request body could not be parsed (context.practiceSetting.coding[0].display: String should match pattern '[^\\s]+(\\s[^\\s]+)*')",
951+
"diagnostics": "Request body could not be parsed (context.practiceSetting.coding[0].system: String should match pattern '[^\\s]+(\\s[^\\s]+)*')",
953952
"expression": [
954-
"context.practiceSetting.coding[0].display"
953+
"context.practiceSetting.coding[0].system"
955954
]
956955
}
957956
"""

0 commit comments

Comments
 (0)