summaryrefslogtreecommitdiff
path: root/test/test-ingest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/test-ingest.cpp')
-rw-r--r--test/test-ingest.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/test-ingest.cpp b/test/test-ingest.cpp
index 4845bf6..fb35915 100644
--- a/test/test-ingest.cpp
+++ b/test/test-ingest.cpp
@@ -178,5 +178,6 @@ BOOST_DATA_TEST_CASE(StoreLogLine,
}),
line)
{
- WebStat::Ingestor {"test-hostname", DB::MockDatabase::openConnectionTo("webstat")}.ingestLogLine(line);
+ WebStat::Ingestor {"test-hostname", std::make_shared<MockDBPool>("webstat")}.ingestLogLine(
+ DB::MockDatabase::openConnectionTo("webstat").get(), line);
}