Skip to content
Snippets Groups Projects
Commit 3a00f60c authored by Tim Emiola's avatar Tim Emiola
Browse files

Merge pull request #1181 from murgatroid99/php_gen_code_test_update

Updated GeneratedCodeTest to match (not so) recent stub changes
parents a4b0909d e80fdd37
No related branches found
No related tags found
No related merge requests found
...@@ -41,7 +41,8 @@ class GeneratedCodeTest extends PHPUnit_Framework_TestCase { ...@@ -41,7 +41,8 @@ class GeneratedCodeTest extends PHPUnit_Framework_TestCase {
protected static $client; protected static $client;
protected static $timeout; protected static $timeout;
public static function setUpBeforeClass() { public static function setUpBeforeClass() {
self::$client = new math\MathClient(getenv('GRPC_TEST_HOST')); self::$client = new math\MathClient(new Grpc\BaseStub(
getenv('GRPC_TEST_HOST'), []));
} }
public function testSimpleRequest() { public function testSimpleRequest() {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment