You are here

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

File

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

Class

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

Namespace

Auth0\Tests\API

Code

public function testThatNullParamsAreNotAdded() {
  $builder = self::getUrlBuilder()
    ->withParam('param1', null);
  $this
    ->assertEmpty($builder
    ->getParams());
}