Index: qunit/tests/indexedDBBackup.js |
=================================================================== |
--- a/qunit/tests/indexedDBBackup.js |
+++ b/qunit/tests/indexedDBBackup.js |
@@ -1,14 +1,14 @@ |
"use strict"; |
{ |
const {IndexedDBBackup} = require("../../lib/indexedDBBackup"); |
const info = require("info"); |
- const {FilterStorage} = require("../../adblockpluscore/lib/filterStorage"); |
+ const {filterStorage} = require("../../adblockpluscore/lib/filterStorage"); |
const {Filter} = require("../../adblockpluscore/lib/filterClasses"); |
const {Subscription, SpecialSubscription} = |
require("../../adblockpluscore/lib/subscriptionClasses"); |
let backupDelay = 100; |
let subscription = Subscription.fromObject({ |
title: "test", |
url: "test.com", |
@@ -79,18 +79,18 @@ |
"first write is deferred" |
); |
deepEqual( |
data.content, |
expectedFormat, |
"saved data has the correct information" |
); |
- FilterStorage.removeSubscription(subscription); |
- FilterStorage.removeSubscription(specialSubscription); |
+ filterStorage.removeSubscription(subscription); |
+ filterStorage.removeSubscription(specialSubscription); |
} |
}, |
{ |
done: assert.async(), |
check(data) |
{ |
ok( |
saveTimes[1] - saveTimes[0] >= backupDelay, |
@@ -115,12 +115,12 @@ |
}, 0); |
}; |
Object.defineProperty( |
browser.storage.local, "set", |
{value: mockSave, enumerable: true} |
); |
- FilterStorage.addSubscription(specialSubscription); |
- FilterStorage.addSubscription(subscription); |
+ filterStorage.addSubscription(specialSubscription); |
+ filterStorage.addSubscription(subscription); |
} |
} |