Skip to content

Commit

Permalink
Update composer.json for the first release
Browse files Browse the repository at this point in the history
  • Loading branch information
ZhouyihaiDing committed Jul 16, 2018
1 parent 2d903e2 commit 8d6f853
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
9 changes: 5 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "google/cloud-grpc",
"name": "google/grpc-gcp",
"description": "gRPC gcp library for channel management",
"license": "Apache-2.0",
"version": "0.0.1",
Expand All @@ -9,14 +9,15 @@
"require": {
"php": ">=5.5.0",
"google/protobuf": "^v3.3.0",
"grpc/grpc": "dev-master",
"grpc/grpc": "^v1.13.0",
"google/auth": "^1.3",
"psr/cache": "^1.0.1"
},
"require-dev": {
"require-dev": {
},
"autoload": {
"psr-4": {
"Grpc\\Gcp": "src/",
"Grpc\\Gcp\\": "src/",
"": ["src/generated/"]
}
}
Expand Down
2 changes: 1 addition & 1 deletion tests/BasicTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ public function tearDown()

public function createStub($max_channels = 10, $max_streams = 1)
{
putenv("GOOGLE_APPLICATION_CREDENTIALS=./grpc-gcp.json");
// putenv("GOOGLE_APPLICATION_CREDENTIALS=./grpc-gcp.json");
$this->_DEFAULT_MAX_CHANNELS_PER_TARGET = $max_channels;
$this->_WATER_MARK = $max_streams;
$hostname = 'spanner.googleapis.com';
Expand Down
2 changes: 1 addition & 1 deletion tests/ChannelManagementNoConfigTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ public function tearDown()

public function createStub($max_channels = 10, $max_streams = 1)
{
putenv("GOOGLE_APPLICATION_CREDENTIALS=./grpc-gcp.json");
// putenv("GOOGLE_APPLICATION_CREDENTIALS=./grpc-gcp.json");
$this->_DEFAULT_MAX_CHANNELS_PER_TARGET = $max_channels;
$this->_WATER_MARK = $max_streams;
$hostname = 'spanner.googleapis.com';
Expand Down

0 comments on commit 8d6f853

Please sign in to comment.