diff options
author | 2016-03-16 07:51:16 -0700 | |
---|---|---|
committer | 2016-03-16 07:51:16 -0700 | |
commit | 3bcdb6a55e4121713c60e9bd9f9ee9ec04b22d2b (patch) | |
tree | ca31463ba42d9784ffd2a74c4f1ac3d77cc54bfc /src/php/tests | |
parent | 5e9b3f09de655b6f60182ee4fe83a05e95bb2680 (diff) | |
parent | 66e3b02d8a970f978c7907903f04094f802c7b44 (diff) |
Merge github.com:grpc/grpc into fix_something
Diffstat (limited to 'src/php/tests')
-rw-r--r-- | src/php/tests/generated_code/math_client.php | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/php/tests/generated_code/math_client.php b/src/php/tests/generated_code/math_client.php index 76ccabc068..2085560d19 100644 --- a/src/php/tests/generated_code/math_client.php +++ b/src/php/tests/generated_code/math_client.php @@ -1,7 +1,7 @@ <?php /* * - * Copyright 2015, Google Inc. + * Copyright 2015-2016, Google Inc. * All rights reserved. * * Redistribution and use in source and binary forms, with or without @@ -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(''); |