Skip to content

Commit 961b250

Browse files
committed
NRL-1285 update int tests
1 parent fafff0e commit 961b250

File tree

3 files changed

+12
-12
lines changed

3 files changed

+12
-12
lines changed

tests/features/producer/createDocumentReference-failure.feature

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -744,9 +744,9 @@ Feature: Producer - createDocumentReference - Failure Scenarios
744744
}
745745
]
746746
},
747-
"diagnostics": "Request body could not be parsed (content: List should have at least 1 item after validation, not 0)",
747+
"diagnostics": "Request body could not be parsed (root: Value error, The following fields are empty: content)",
748748
"expression": [
749-
"content"
749+
"root"
750750
]
751751
}
752752
"""
@@ -802,9 +802,9 @@ Feature: Producer - createDocumentReference - Failure Scenarios
802802
}
803803
]
804804
},
805-
"diagnostics": "Request body could not be parsed (content[0].attachment.contentType: String should match pattern '[^\\s]+(\\s[^\\s]+)*')",
805+
"diagnostics": "Request body could not be parsed (root: Value error, The following fields are empty: content[0].attachment.contentType)",
806806
"expression": [
807-
"content[0].attachment.contentType"
807+
"root"
808808
]
809809
}
810810
"""
@@ -1008,9 +1008,9 @@ Feature: Producer - createDocumentReference - Failure Scenarios
10081008
}
10091009
]
10101010
},
1011-
"diagnostics": "Request body could not be parsed (context.practiceSetting.coding[0].display: String should match pattern '[\\S]+[ \\r\\n\\t\\S]*')",
1011+
"diagnostics": "Request body could not be parsed (root: Value error, The following fields are empty: context.practiceSetting.coding[0].display)",
10121012
"expression": [
1013-
"context.practiceSetting.coding[0].display"
1013+
"root"
10141014
]
10151015
}
10161016
"""

tests/features/producer/updateDocumentReference-failure.feature

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,9 +87,9 @@ Feature: Producer - updateDocumentReference - Failure Scenarios
8787
}
8888
]
8989
},
90-
"diagnostics": "Request body could not be parsed (content: List should have at least 1 item after validation, not 0)",
90+
"diagnostics": "Request body could not be parsed (root: Value error, The following fields are empty: content)",
9191
"expression": [
92-
"content"
92+
"root"
9393
]
9494
}
9595
"""

tests/features/producer/upsertDocumentReference-failure.feature

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -265,9 +265,9 @@ Feature: Producer - upsertDocumentReference - Failure Scenarios
265265
}
266266
]
267267
},
268-
"diagnostics": "Request body could not be parsed (content: List should have at least 1 item after validation, not 0)",
268+
"diagnostics": "Request body could not be parsed (root: Value error, The following fields are empty: content)",
269269
"expression": [
270-
"content"
270+
"root"
271271
]
272272
}
273273
"""
@@ -323,9 +323,9 @@ Feature: Producer - upsertDocumentReference - Failure Scenarios
323323
}
324324
]
325325
},
326-
"diagnostics": "Request body could not be parsed (content[0].attachment.contentType: String should match pattern '[^\\s]+(\\s[^\\s]+)*')",
326+
"diagnostics": "Request body could not be parsed (root: Value error, The following fields are empty: content[0].attachment.contentType)",
327327
"expression": [
328-
"content[0].attachment.contentType"
328+
"root"
329329
]
330330
}
331331
"""

0 commit comments

Comments
 (0)