aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/php/tests/generated_code/AbstractGeneratedCodeTest.php
diff options
context:
space:
mode:
authorGravatar jboeuf <jboeuf@users.noreply.github.com>2015-12-16 15:49:46 -0800
committerGravatar jboeuf <jboeuf@users.noreply.github.com>2015-12-16 15:49:46 -0800
commit62ae50d4ac824bbb9a6c732ac61fced4c2f2576b (patch)
treebf8d0b3292bba9ac0b9ee49f3413d4d36d37562b /src/php/tests/generated_code/AbstractGeneratedCodeTest.php
parent416000f43fa93533e71d3180f6705cde013ae34d (diff)
parent6bd3180dfdda95d9ce824c88579f2dca87a65302 (diff)
Merge pull request #4487 from stanley-cheung/php_insecure_channel_creds
PHP: make ChannelCredentials::createInsecure explicit
Diffstat (limited to 'src/php/tests/generated_code/AbstractGeneratedCodeTest.php')
-rw-r--r--src/php/tests/generated_code/AbstractGeneratedCodeTest.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/php/tests/generated_code/AbstractGeneratedCodeTest.php b/src/php/tests/generated_code/AbstractGeneratedCodeTest.php
index aa6906192f..1fe81b9d54 100644
--- a/src/php/tests/generated_code/AbstractGeneratedCodeTest.php
+++ b/src/php/tests/generated_code/AbstractGeneratedCodeTest.php
@@ -111,7 +111,9 @@ abstract class AbstractGeneratedCodeTest extends PHPUnit_Framework_TestCase
*/
public function testInvalidMethodName()
{
- $invalid_client = new DummyInvalidClient('host', []);
+ $invalid_client = new DummyInvalidClient('host', [
+ 'credentials' => Grpc\ChannelCredentials::createInsecure(),
+ ]);
$div_arg = new math\DivArgs();
$invalid_client->InvalidUnaryCall($div_arg);
}