summaryrefslogtreecommitdiff
path: root/php/test/Ice/operations/Client.php
diff options
context:
space:
mode:
Diffstat (limited to 'php/test/Ice/operations/Client.php')
-rw-r--r--php/test/Ice/operations/Client.php8
1 files changed, 5 insertions, 3 deletions
diff --git a/php/test/Ice/operations/Client.php b/php/test/Ice/operations/Client.php
index b5426df1ef8..6d193bcc51b 100644
--- a/php/test/Ice/operations/Client.php
+++ b/php/test/Ice/operations/Client.php
@@ -356,13 +356,15 @@ function twoways($communicator, $p)
}
{
+ $stringToIdentity = $NS ? "Ice\\stringToIdentity" : "Ice_stringToIdentity";
+
$r = $p->opMyClass($p, $c1, $c2);
test(Ice_proxyIdentityAndFacetEqual($c1, $p));
test(!Ice_proxyIdentityAndFacetEqual($c2, $p));
test(Ice_proxyIdentityAndFacetEqual($r, $p));
- test($c1->ice_getIdentity() == $communicator->stringToIdentity("test"));
- test($c2->ice_getIdentity() == $communicator->stringToIdentity("noSuchIdentity"));
- test($r->ice_getIdentity() == $communicator->stringToIdentity("test"));
+ test($c1->ice_getIdentity() == $stringToIdentity("test"));
+ test($c2->ice_getIdentity() == $stringToIdentity("noSuchIdentity"));
+ test($r->ice_getIdentity() == $stringToIdentity("test"));
$r->opVoid();
$c1->opVoid();
try