aboutsummaryrefslogtreecommitdiff
path: root/test/rssignores.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/rssignores.cpp')
-rw-r--r--test/rssignores.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/test/rssignores.cpp b/test/rssignores.cpp
index e6b0a838..e0187f5d 100644
--- a/test/rssignores.cpp
+++ b/test/rssignores.cpp
@@ -1,5 +1,3 @@
-#define ENABLE_IMPLICIT_FILEPATH_CONVERSIONS
-
#include "rssignores.h"
#include <set>
@@ -244,8 +242,8 @@ TEST_CASE("RssIgnores::matches() returns true if given RssItem matches any "
RssIgnores ignores;
ConfigContainer cfg;
- Cache rsscache(":memory:", cfg);
- RssItem item(&rsscache);
+ auto rsscache = Cache::in_memory(cfg);
+ RssItem item(rsscache.get());
const auto feedurl = "https://example.com/feed.xml";