You are here

public function RequestBuilderTest::testgGetGuzzleOptionsWithBasePath in Auth0 Single Sign On 8.2

File

vendor/auth0/auth0-php/tests/API/Helpers/RequestBuilderTest.php, line 178

Class

RequestBuilderTest
Class RequestBuilderTest Tests the Auth0\SDK\API\Helpers\RequestBuilder class.

Namespace

Auth0\Tests\API

Code

public function testgGetGuzzleOptionsWithBasePath() {
  $options = self::getUrlBuilder('/api')
    ->getGuzzleOptions();
  $this
    ->assertArrayHasKey('base_uri', $options);
  $this
    ->assertEquals('api.local.test/api', $options['base_uri']);
}