Updated snapshot for posts API test error output

refs d5f03ec0b1
This commit is contained in:
Kevin Ansfield 2022-09-19 15:56:30 +01:00
parent d5f03ec0b1
commit 744534fde6

View File

@ -451,7 +451,7 @@ Object {
"errors": Array [ "errors": Array [
Object { Object {
"code": null, "code": null,
"context": "Invalid lexical structure.", "context": "Invalid lexical structure. Cannot read properties of undefined (reading 'type')",
"details": null, "details": null,
"ghostErrorCode": null, "ghostErrorCode": null,
"help": "https://ghost.org/docs/publishing/", "help": "https://ghost.org/docs/publishing/",
@ -468,7 +468,7 @@ exports[`Posts API Create Errors with an invalid lexical state object 2: [header
Object { Object {
"access-control-allow-origin": "http://127.0.0.1:2369", "access-control-allow-origin": "http://127.0.0.1:2369",
"cache-control": "no-cache, private, no-store, must-revalidate, max-stale=0, post-check=0, pre-check=0", "cache-control": "no-cache, private, no-store, must-revalidate, max-stale=0, post-check=0, pre-check=0",
"content-length": "284", "content-length": "337",
"content-type": "application/json; charset=utf-8", "content-type": "application/json; charset=utf-8",
"etag": StringMatching /\\(\\?:W\\\\/\\)\\?"\\(\\?:\\[ !#-\\\\x7E\\\\x80-\\\\xFF\\]\\*\\|\\\\r\\\\n\\[\\\\t \\]\\|\\\\\\\\\\.\\)\\*"/, "etag": StringMatching /\\(\\?:W\\\\/\\)\\?"\\(\\?:\\[ !#-\\\\x7E\\\\x80-\\\\xFF\\]\\*\\|\\\\r\\\\n\\[\\\\t \\]\\|\\\\\\\\\\.\\)\\*"/,
"vary": "Origin, Accept-Encoding", "vary": "Origin, Accept-Encoding",