summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--slicer/db/testMockCommon.cpp5
1 files 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 <definedDirs.h>
StandardMockDatabase::StandardMockDatabase() :
-DB::PluginMock<PQ::Mock>("user=postgres dbname=postgres", "pqmock", {
- rootDir.parent_path() / "db" / "slicer.sql" })
+DB::PluginMock<PQ::Mock>("pqmock", {
+ rootDir.parent_path() / "db" / "slicer.sql" },
+ "user=postgres dbname=postgres")
{
}