Fix ZFS tests after removing format=json
from syncAPIClient
This commit is contained in:
parent
0fe6e3d055
commit
1f2408a9c5
1 changed files with 2 additions and 2 deletions
|
@ -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])
|
||||||
});
|
});
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue