Fix annotation tests after adding isExternal to annotation JSON

This commit is contained in:
Dan Stillman 2021-01-26 02:24:26 -05:00
parent 9f954488c6
commit 98f9a99126

View file

@ -3,6 +3,7 @@ describe("Zotero.Annotations", function() {
"libraryID": null, "libraryID": null,
"key": "92JLMCVT", "key": "92JLMCVT",
"type": "highlight", "type": "highlight",
"isExternal": false,
"isAuthor": true, "isAuthor": true,
"text": "This is an <b>extracted</b> text with rich-text\nAnd a new line", "text": "This is an <b>extracted</b> text with rich-text\nAnd a new line",
"comment": "This is a comment with <i>rich-text</i>\nAnd a new line", "comment": "This is a comment with <i>rich-text</i>\nAnd a new line",
@ -36,6 +37,7 @@ describe("Zotero.Annotations", function() {
"libraryID": null, "libraryID": null,
"key": "5TKU34XX", "key": "5TKU34XX",
"type": "note", "type": "note",
"isExternal": false,
"isAuthor": true, "isAuthor": true,
"comment": "This is a note", "comment": "This is a note",
"color": "#ffec00", "color": "#ffec00",
@ -55,6 +57,7 @@ describe("Zotero.Annotations", function() {
"libraryID": null, "libraryID": null,
"key": "QD32MQJF", "key": "QD32MQJF",
"type": "image", "type": "image",
"isExternal": false,
"isAuthor": true, "isAuthor": true,
"image": "zotero://attachment/library/items/LB417FR4", "image": "zotero://attachment/library/items/LB417FR4",
"comment": "This is a comment", "comment": "This is a comment",
@ -77,6 +80,7 @@ describe("Zotero.Annotations", function() {
"libraryID": null, "libraryID": null,
"key": "PE57YAYH", "key": "PE57YAYH",
"type": "highlight", "type": "highlight",
"isExternal": false,
"isAuthor": false, "isAuthor": false,
"authorName": "Kate Smith", "authorName": "Kate Smith",
"text": "This is an <b>extracted</b> text with rich-text\nAnd a new line", "text": "This is an <b>extracted</b> text with rich-text\nAnd a new line",