Skip to content
Snippets Groups Projects
Commit e80fdd37 authored by murgatroid99's avatar murgatroid99
Browse files

Updated GeneratedCodeTest to match (not so) recent stub changes

parent 1fa0c088
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