summaryrefslogtreecommitdiff
path: root/cpp/test/Ice/enums/AllTests.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/test/Ice/enums/AllTests.cpp')
-rw-r--r--cpp/test/Ice/enums/AllTests.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/test/Ice/enums/AllTests.cpp b/cpp/test/Ice/enums/AllTests.cpp
index bb531fb4019..9178e812945 100644
--- a/cpp/test/Ice/enums/AllTests.cpp
+++ b/cpp/test/Ice/enums/AllTests.cpp
@@ -18,7 +18,7 @@ using namespace Test;
TestIntfPrxPtr
allTests(const Ice::CommunicatorPtr& communicator)
{
- string ref = "test:default -p 12010";
+ string ref = "test:" + getTestEndpoint(communicator, 0);
Ice::ObjectPrxPtr obj = communicator->stringToProxy(ref);
test(obj);
TestIntfPrxPtr proxy = ICE_CHECKED_CAST(TestIntfPrx, obj);