summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2018-04-22 15:10:05 +0100
committerDan Goodliffe <dan@randomdan.homeip.net>2018-04-22 15:10:05 +0100
commit1831557027398c552b7bf140276cebd6aa0fa3cb (patch)
tree797ebb17d95e79227ff31da7e75c6b34200ef1dc
parentUpdate to Ice v3.7.1 release (diff)
downloadslicer-1.8.0.1.tar.bz2
slicer-1.8.0.1.tar.xz
slicer-1.8.0.1.zip
Update to new PluginMock interfaceslicer-1.8.0.1
-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")
{
}