Index: test/filterStorage.js |
=================================================================== |
--- a/test/filterStorage.js |
+++ b/test/filterStorage.js |
@@ -73,17 +73,17 @@ |
{ |
let result = [...filterStorage.subscriptions()].map( |
subscription => [...subscription.filterText()]); |
test.deepEqual(result, list, testMessage); |
} |
function compareFilterSubscriptions(test, testMessage, filter, list) |
{ |
- let result = [...filter.subscriptions()].map(subscription => subscription.url); |
+ let result = [...filterStorage.subscriptions(filter.text)].map(subscription => subscription.url); |
let expected = list.map(subscription => subscription.url); |
test.deepEqual(result, expected, testMessage); |
} |
exports.testAddingSubscriptions = function(test) |
{ |
let subscription1 = Subscription.fromURL("http://test1/"); |
let subscription2 = Subscription.fromURL("http://test2/"); |