diff options
Diffstat (limited to 'php/test/Ice/exceptions/Client.php')
-rw-r--r-- | php/test/Ice/exceptions/Client.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/php/test/Ice/exceptions/Client.php b/php/test/Ice/exceptions/Client.php index 37042b9d5a2..4b6c29f5ae1 100644 --- a/php/test/Ice/exceptions/Client.php +++ b/php/test/Ice/exceptions/Client.php @@ -309,7 +309,8 @@ function allTests($communicator) echo "catching object not exist exception... "; flush(); - $id = $communicator->stringToIdentity("does not exist"); + $stringToIdentity = $NS ? "Ice\\stringToIdentity" : "Ice_stringToIdentity"; + $id = $stringToIdentity("does not exist"); try { $thrower2 = $thrower->ice_identity($id)->ice_uncheckedCast("::Test::Thrower"); |