mirror of
https://github.com/zotero/zotero.git
synced 2026-10-05 02:43:38 +00:00
Local API: Fix test
This commit is contained in:
parent
2a7f4fb2a5
commit
a2a99c12f5
1 changed files with 1 additions and 1 deletions
|
|
@ -268,7 +268,7 @@ describe("Local API Server", function () {
|
|||
|
||||
describe("?since", function () {
|
||||
it("should filter the results", async function () {
|
||||
let { response: response1 } = await apiGet('/users/0/items?since=' + Zotero.Libraries.userLibrary.libraryVersion);
|
||||
let { response: response1 } = await apiGet('/users/0/items?since=' + (Zotero.Libraries.userLibrary.libraryVersion + 1));
|
||||
assert.isEmpty(response1);
|
||||
|
||||
let { response: response2 } = await apiGet('/users/0/items?since=0');
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue