diff --git a/src/EmulatorTrait.php b/src/EmulatorTrait.php index cde0216..5d6929d 100644 --- a/src/EmulatorTrait.php +++ b/src/EmulatorTrait.php @@ -44,7 +44,8 @@ private function emulatorGapicConfig($emulatorHost) 'credentials' => \Grpc\ChannelCredentials::createInsecure() ] ] - ] + ], + 'credentials' => new InsecureCredentialsWrapper(), ]; } /** diff --git a/src/InsecureCredentialsWrapper.php b/src/InsecureCredentialsWrapper.php new file mode 100644 index 0000000..ba56d62 --- /dev/null +++ b/src/InsecureCredentialsWrapper.php @@ -0,0 +1,36 @@ +