From 2ebd7bd11440d0c8d4e7ff68c2e8c9161bee7ad5 Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Thu, 7 Jul 2016 08:39:19 -0400 Subject: [PATCH] Update search test after c1f7a188e2 c1f7a188e2 changed createDataObject('search') to create 2 search conditions instead of 1 --- test/tests/zoteroPaneTest.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/test/tests/zoteroPaneTest.js b/test/tests/zoteroPaneTest.js index 40865d29ce..c962445b52 100644 --- 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); }); });