summaryrefslogtreecommitdiff
path: root/php/test
diff options
context:
space:
mode:
authorDwayne Boone <dwayne@zeroc.com>2015-05-05 12:04:18 -0230
committerDwayne Boone <dwayne@zeroc.com>2015-05-05 12:04:18 -0230
commit77beda421aa4cbe82b1bf7b7000ed456c0f16437 (patch)
tree33fab63f3196bbcebedb0dd6299c52ed68a7f7d7 /php/test
parentfixing gradle test dependency (diff)
downloadice-77beda421aa4cbe82b1bf7b7000ed456c0f16437.tar.bz2
ice-77beda421aa4cbe82b1bf7b7000ed456c0f16437.tar.xz
ice-77beda421aa4cbe82b1bf7b7000ed456c0f16437.zip
ICE-6479 info test failures with scripting languages
Diffstat (limited to 'php/test')
-rw-r--r--php/test/Ice/info/Client.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/php/test/Ice/info/Client.php b/php/test/Ice/info/Client.php
index 39c526099ff..05053c00a20 100644
--- a/php/test/Ice/info/Client.php
+++ b/php/test/Ice/info/Client.php
@@ -70,7 +70,7 @@ function allTests($communicator)
test(($ipEndpoint->type() == $tcpEndpointType && ($ipEndpoint instanceof $tcpEndpointInfoClass)) ||
($ipEndpoint->type() == $sslEndpointType && ($ipEndpoint instanceof $ipEndpointInfoClass)) ||
($ipEndpoint->type() == $wsEndpointType && ($ipEndpoint instanceof $wsEndpointInfoClass)) ||
- ($ipEndpoint->type() == $wssEndpointType && ($ipEndpoint instanceof $wsEndpointInfoClass)));
+ ($ipEndpoint->type() == $wssEndpointType && ($ipEndpoint instanceof $ipEndpointInfoClass)));
$udpEndpoint = $endps[1]->getInfo();
test($udpEndpoint instanceof $udpEndpointInfoClass);
@@ -145,7 +145,7 @@ function allTests($communicator)
test($ctx["remotePort"] == $info->localPort);
test($ctx["localPort"] == $info->remotePort);
- if($base->ice_getConnection()->type() == "ws" || $base->ice_getConnection()->type() == "wss")
+ if($base->ice_getConnection()->type() == "ws")
{
test($info instanceof $wsConnectionInfoClass);