From 1831557027398c552b7bf140276cebd6aa0fa3cb Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Sun, 22 Apr 2018 15:10:05 +0100 Subject: Update to new PluginMock interface --- slicer/db/testMockCommon.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/slicer/db/testMockCommon.cpp b/slicer/db/testMockCommon.cpp index 7102db7..ed18563 100644 --- a/slicer/db/testMockCommon.cpp +++ b/slicer/db/testMockCommon.cpp @@ -2,8 +2,9 @@ #include StandardMockDatabase::StandardMockDatabase() : -DB::PluginMock("user=postgres dbname=postgres", "pqmock", { - rootDir.parent_path() / "db" / "slicer.sql" }) +DB::PluginMock("pqmock", { + rootDir.parent_path() / "db" / "slicer.sql" }, + "user=postgres dbname=postgres") { } -- cgit v1.2.3