aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/php/tests/generated_code/math_client.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/php/tests/generated_code/math_client.php')
-rw-r--r--src/php/tests/generated_code/math_client.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/php/tests/generated_code/math_client.php b/src/php/tests/generated_code/math_client.php
index 76ccabc068..b8652ceb08 100644
--- a/src/php/tests/generated_code/math_client.php
+++ b/src/php/tests/generated_code/math_client.php
@@ -43,7 +43,9 @@ function p($line)
$host = 'localhost:50051';
p("Connecting to host: $host");
-$client = new math\MathClient($host, []);
+$client = new math\MathClient($host, [
+ 'credentials' => Grpc\ChannelCredentials::createInsecure()
+]);
p('Client class: '.get_class($client));
p('');