Index: test/filterStorage_readwrite.js |
=================================================================== |
--- a/test/filterStorage_readwrite.js |
+++ b/test/filterStorage_readwrite.js |
@@ -19,30 +19,29 @@ |
const {createSandbox, unexpectedError} = require("./_common"); |
let Filter = null; |
let FilterNotifier = null; |
let FilterStorage = null; |
let IO = null; |
let Prefs = null; |
-let Subscription = null; |
let ExternalSubscription = null; |
let dataFile = null; |
exports.setUp = function(callback) |
{ |
let sandboxedRequire = createSandbox(); |
( |
{Filter} = sandboxedRequire("../lib/filterClasses"), |
{FilterNotifier} = sandboxedRequire("../lib/filterNotifier"), |
{FilterStorage} = sandboxedRequire("../lib/filterStorage"), |
{IO} = sandboxedRequire("./stub-modules/io"), |
{Prefs} = sandboxedRequire("./stub-modules/prefs"), |
- {Subscription, ExternalSubscription} = sandboxedRequire("../lib/subscriptionClasses") |
+ {ExternalSubscription} = sandboxedRequire("../lib/subscriptionClasses") |
); |
Prefs.patternsfile = "patterns.ini"; |
dataFile = IO.resolveFilePath(Prefs.patternsfile); |
FilterStorage.addFilter(Filter.fromText("foobar")); |
callback(); |
}; |