summaryrefslogtreecommitdiff
path: root/libpqpp/unittests/testpq.cpp
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2018-04-22 15:09:39 +0100
committerDan Goodliffe <dan@randomdan.homeip.net>2018-04-22 15:09:39 +0100
commit74dfa58b1a3d161dc157cea26cb70628f33a321f (patch)
tree6b85ca2a5a47882511e9db2179e6e2a36c7c6d77 /libpqpp/unittests/testpq.cpp
parentC++17 (diff)
downloadlibdbpp-postgresql-1.2.0.1.tar.bz2
libdbpp-postgresql-1.2.0.1.tar.xz
libdbpp-postgresql-1.2.0.1.zip
Update to new PluginMock interfacelibdbpp-postgresql-1.2.0.1
Diffstat (limited to 'libpqpp/unittests/testpq.cpp')
-rw-r--r--libpqpp/unittests/testpq.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/libpqpp/unittests/testpq.cpp b/libpqpp/unittests/testpq.cpp
index e8571b5..4f36ae7 100644
--- a/libpqpp/unittests/testpq.cpp
+++ b/libpqpp/unittests/testpq.cpp
@@ -17,8 +17,8 @@
class StandardMockDatabase : public DB::PluginMock<PQ::Mock> {
public:
- StandardMockDatabase() : DB::PluginMock<PQ::Mock>("user=postgres dbname=postgres", "PQmock", {
- rootDir / "pqschema.sql" })
+ StandardMockDatabase() : DB::PluginMock<PQ::Mock>("PQmock", {
+ rootDir / "pqschema.sql" }, "user=postgres dbname=postgres")
{
}
};