From 952663de73c3d4a5a778c500a4b7eea239db8f2b Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Sun, 29 Aug 2021 04:41:52 -0400 Subject: [PATCH] Fix failing repo notice tests --- chrome/content/zotero/xpcom/schema.js | 3 --- test/tests/schemaTest.js | 5 +++++ 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/chrome/content/zotero/xpcom/schema.js b/chrome/content/zotero/xpcom/schema.js index 0ad232ca6e..e3053a32a1 100644 --- a/chrome/content/zotero/xpcom/schema.js +++ b/chrome/content/zotero/xpcom/schema.js @@ -2452,10 +2452,7 @@ Zotero.Schema = new function(){ } } else { - Zotero.debug("CHECKING"); let exp = _hiddenNoticesWithoutIDs.get(text); - Zotero.debug(exp); - Zotero.debug(now); if (exp && exp > now) { Zotero.debug("Not showing hidden notice", 2); Zotero.debug(text, 2); diff --git a/test/tests/schemaTest.js b/test/tests/schemaTest.js index ade697d5d4..c370473577 100644 --- a/test/tests/schemaTest.js +++ b/test/tests/schemaTest.js @@ -246,6 +246,11 @@ describe("Zotero.Schema", function() { var server; before(async function () { + // We need bundled files + await resetDB({ + thisArg: this + }); + win = await loadZoteroPane(); });