diff options
author | thinkerou <thinkerou@gmail.com> | 2017-03-26 01:07:27 +0800 |
---|---|---|
committer | thinkerou <thinkerou@gmail.com> | 2017-03-26 01:10:21 +0800 |
commit | 34d21ceadcc7e83f15f3bdcfa6955940c6e4d30a (patch) | |
tree | b11deaba9bc99fbbe727c755538c1e765fd17678 /src/php/tests/unit_tests/ServerTest.php | |
parent | 9d67ee7222a3df65ba949d810667fdd1d7bdfc73 (diff) |
fix php style
Diffstat (limited to 'src/php/tests/unit_tests/ServerTest.php')
-rw-r--r-- | src/php/tests/unit_tests/ServerTest.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/php/tests/unit_tests/ServerTest.php b/src/php/tests/unit_tests/ServerTest.php index 5f40202f18..3e7c01f20e 100644 --- a/src/php/tests/unit_tests/ServerTest.php +++ b/src/php/tests/unit_tests/ServerTest.php @@ -69,7 +69,7 @@ class ServerTest extends PHPUnit_Framework_TestCase $this->server = new Grpc\Server(); $port = $this->server->addHttp2Port('0.0.0.0:0'); $this->server->start(); - $channel = new Grpc\Channel('localhost:' . $port, + $channel = new Grpc\Channel('localhost:'.$port, ['credentials' => Grpc\ChannelCredentials::createInsecure()]); $deadline = Grpc\Timeval::infFuture(); |