Fix failing repo notice tests

This commit is contained in:
Dan Stillman 2021-08-29 04:41:52 -04:00
parent 2459614f04
commit 952663de73
2 changed files with 5 additions and 3 deletions

View file

@ -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);

View file

@ -246,6 +246,11 @@ describe("Zotero.Schema", function() {
var server;
before(async function () {
// We need bundled files
await resetDB({
thisArg: this
});
win = await loadZoteroPane();
});