Fix ZFS tests after removing format=json from syncAPIClient

This commit is contained in:
Dan Stillman 2020-12-28 00:12:09 -05:00
parent 0fe6e3d055
commit 1f2408a9c5

View file

@ -884,7 +884,7 @@ describe("Zotero.Sync.Storage.Mode.ZFS", function () {
}) })
setResponse({ setResponse({
method: "GET", method: "GET",
url: `users/1/items?format=json&itemKey=${item.key}&includeTrashed=1`, url: `users/1/items?itemKey=${item.key}&includeTrashed=1`,
status: 200, status: 200,
text: JSON.stringify([itemJSON]) text: JSON.stringify([itemJSON])
}); });
@ -932,7 +932,7 @@ describe("Zotero.Sync.Storage.Mode.ZFS", function () {
}) })
setResponse({ setResponse({
method: "GET", method: "GET",
url: `users/1/items?format=json&itemKey=${item.key}&includeTrashed=1`, url: `users/1/items?itemKey=${item.key}&includeTrashed=1`,
status: 200, status: 200,
text: JSON.stringify([itemJSON]) text: JSON.stringify([itemJSON])
}); });