Ejemplo n.º 1
0
 /**
  * @codeCoverageIgnore
  *
  * @return \GuzzleHttp\Client
  */
 protected function createClient()
 {
     return new Client(['base_uri' => $this->baseUrl, 'handler' => $this->handlerStack, RequestOptions::HTTP_ERRORS => false, RequestOptions::AUTH => [$this->app->getClientId(), $this->app->getClientSecret()]]);
 }
Ejemplo n.º 2
0
 public function testGetClientSecret()
 {
     $this->assertEquals($this->clientSecret, $this->app->getClientSecret());
 }