aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorGravatar Jan Tattermusch <jtattermusch@google.com>2018-12-20 14:46:18 +0100
committerGravatar Jan Tattermusch <jtattermusch@google.com>2018-12-20 14:49:54 +0100
commitdcb194c6e3836e57ca41ef13ab1ee633590a5af4 (patch)
treef5fce4690635ee88ae4eccfac28b501d90382149 /src
parentb904fdaa40f74498dcc5a6c6c75612599b79d7c6 (diff)
PHP interop client: do not append :443 to host name unless necessary
$server_port is actually a string and appending the port number to server_host breaks jwt_token_creds testcase.
Diffstat (limited to 'src')
-rwxr-xr-xsrc/php/tests/interop/interop_client.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/php/tests/interop/interop_client.php b/src/php/tests/interop/interop_client.php
index 3e19c7ae33..19cbf21bc2 100755
--- a/src/php/tests/interop/interop_client.php
+++ b/src/php/tests/interop/interop_client.php
@@ -530,7 +530,7 @@ function _makeStub($args)
throw new Exception('Missing argument: --test_case is required');
}
- if ($args['server_port'] === 443) {
+ if ($args['server_port'] === '443') {
$server_address = $args['server_host'];
} else {
$server_address = $args['server_host'].':'.$args['server_port'];