Update search test after c1f7a188e2
c1f7a188e2
changed createDataObject('search') to create 2 search conditions
instead of 1
This commit is contained in:
parent
c1f7a188e2
commit
2ebd7bd114
|
@ -353,14 +353,12 @@ describe("ZoteroPane", function() {
|
|||
searchBox.search.addCondition("title", "contains", "foo")
|
||||
);
|
||||
searchBox.addCondition(c);
|
||||
Zotero.debug("ACCEPTING");
|
||||
win.document.documentElement.acceptDialog();
|
||||
});
|
||||
yield zp.editSelectedCollection();
|
||||
yield promise;
|
||||
var conditions = search.getConditions();
|
||||
Zotero.debug(conditions);
|
||||
assert.lengthOf(Object.keys(conditions), 2);
|
||||
assert.lengthOf(Object.keys(conditions), 3);
|
||||
});
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user