public function UsersMockedTest::testThatGetAllUsersAdditionalParamsAreSent in Auth0 Single Sign On 8.2
Test a getAll users call with params.
Return value
void
Throws
\Exception Should not be thrown in this test.
File
- vendor/
auth0/ auth0-php/ tests/ API/ Management/ UsersMockedTest.php, line 233
Class
- UsersMockedTest
- Class UsersMockedTest.
Namespace
Auth0\Tests\API\ManagementCode
public function testThatGetAllUsersAdditionalParamsAreSent() {
$api = new MockManagementApi([
new Response(200, self::$headers),
]);
$api
->call()
->users()
->getAll([
'__test_parameter__' => '__test_value__',
]);
$query = $api
->getHistoryQuery();
$this
->assertEquals('__test_parameter__=__test_value__', $query);
}