You are here

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

File

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

Class

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

Namespace

Auth0\Tests\API

Code

public function testThatASingleUrlParamIsAdded() {
  $builder = self::getUrlBuilder()
    ->withParam('param1', 'value1');
  $this
    ->assertEquals('?param1=value1', $builder
    ->getParams());
}