aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/php/tests/generated_code/GeneratedCodeWithCallbackTest.php
diff options
context:
space:
mode:
authorGravatar Craig Tiller <ctiller@google.com>2015-08-21 16:06:30 -0700
committerGravatar Craig Tiller <ctiller@google.com>2015-08-21 16:06:30 -0700
commitb7e22b96865f24b70cbd9ddd96b6882e2b3df771 (patch)
tree6325a91ed40407a6f447280b9b58dd3b6ae9d9dd /src/php/tests/generated_code/GeneratedCodeWithCallbackTest.php
parent849c7ca4b2bbda14dd9531ede3aa31cd86aa8d85 (diff)
parentb7e55a20023b32177cb9b09e8ef0dc0d3cd0aa85 (diff)
Merge github.com:grpc/grpc into y12kdm3
Diffstat (limited to 'src/php/tests/generated_code/GeneratedCodeWithCallbackTest.php')
-rw-r--r--src/php/tests/generated_code/GeneratedCodeWithCallbackTest.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/php/tests/generated_code/GeneratedCodeWithCallbackTest.php b/src/php/tests/generated_code/GeneratedCodeWithCallbackTest.php
index f8ec1e7da8..68f57d34ad 100644
--- a/src/php/tests/generated_code/GeneratedCodeWithCallbackTest.php
+++ b/src/php/tests/generated_code/GeneratedCodeWithCallbackTest.php
@@ -35,13 +35,13 @@ require 'AbstractGeneratedCodeTest.php';
class GeneratedCodeWithCallbackTest extends AbstractGeneratedCodeTest {
public static function setUpBeforeClass() {
- self::$client = new math\MathClient(new Grpc\BaseStub(
+ self::$client = new math\MathClient(
getenv('GRPC_TEST_HOST'), ['update_metadata' =>
function($a_hash,
$client = array()) {
$a_copy = $a_hash;
$a_copy['foo'] = ['bar'];
return $a_copy;
- }]));
+ }]);
}
}