From 74dfa58b1a3d161dc157cea26cb70628f33a321f Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Sun, 22 Apr 2018 15:09:39 +0100 Subject: Update to new PluginMock interface --- libpqpp/unittests/testpq.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libpqpp') 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 { public: - StandardMockDatabase() : DB::PluginMock("user=postgres dbname=postgres", "PQmock", { - rootDir / "pqschema.sql" }) + StandardMockDatabase() : DB::PluginMock("PQmock", { + rootDir / "pqschema.sql" }, "user=postgres dbname=postgres") { } }; -- cgit v1.2.3