Fix failing repo notice tests
This commit is contained in:
parent
2459614f04
commit
952663de73
2 changed files with 5 additions and 3 deletions
|
@ -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);
|
||||
|
|
|
@ -246,6 +246,11 @@ describe("Zotero.Schema", function() {
|
|||
var server;
|
||||
|
||||
before(async function () {
|
||||
// We need bundled files
|
||||
await resetDB({
|
||||
thisArg: this
|
||||
});
|
||||
|
||||
win = await loadZoteroPane();
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue