summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mythfs/unittests/mockDefs.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/mythfs/unittests/mockDefs.cpp b/mythfs/unittests/mockDefs.cpp
index b061c64..68dec08 100644
--- a/mythfs/unittests/mockDefs.cpp
+++ b/mythfs/unittests/mockDefs.cpp
@@ -10,8 +10,8 @@ Service::Service() :
}
TestClient::TestClient() :
- db(MythFS::DBPrx::checkedCast(ic->stringToProxy("db:tcp -p 9002"))),
- s(NetFS::ServicePrx::checkedCast(ic->stringToProxy("service:tcp -p 9002")))
+ db(getProxy<MythFS::DBPrx>("db")),
+ s(getProxy<NetFS::ServicePrx>("service"))
{
}