summaryrefslogtreecommitdiff
path: root/service/test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'service/test.cpp')
-rw-r--r--service/test.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/service/test.cpp b/service/test.cpp
index 5be34e7..acc03e2 100644
--- a/service/test.cpp
+++ b/service/test.cpp
@@ -6,9 +6,9 @@
#include <definedDirs.h>
#include <api.h>
-class Service : PQ::Mock, public IceTray::DryIce {
+class Service : DB::PluginMock<PQ::Mock>, public IceTray::DryIce {
public:
- Service() : PQ::Mock("user=postgres", "MirrorSearch", {
+ Service() : DB::PluginMock<PQ::Mock>("user=postgres", "MirrorSearch", {
rootDir / "schema.sql",
rootDir / "data.sql"
}) { }
@@ -22,7 +22,7 @@ class TestClient : public IceTray::DryIceClient {
{
}
- MirrorSearch::SearchPrx s;
+ MirrorSearch::SearchPrxPtr s;
};
BOOST_TEST_GLOBAL_FIXTURE(Service);