commit 2ebd7bd11440d0c8d4e7ff68c2e8c9161bee7ad5
parent c1f7a188e2e6eec0daba38654575a5c14983f0a7
Author: Dan Stillman <dstillman@zotero.org>
Date: Thu, 7 Jul 2016 08:39:19 -0400
Update search test after c1f7a188e2
c1f7a188e2 changed createDataObject('search') to create 2 search conditions
instead of 1
Diffstat:
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/test/tests/zoteroPaneTest.js b/test/tests/zoteroPaneTest.js
@@ -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);
});
});