public static function ResourceServersTest::setUpBeforeClass in Auth0 Single Sign On 8.2
Sets up API client for the testing class.
Return value
void
Throws
\Auth0\SDK\Exception\ApiException
File
- vendor/
auth0/ auth0-php/ tests/ API/ Management/ ResourceServersTest.php, line 55
Class
- ResourceServersTest
- Class ResourceServersTest.
Namespace
Auth0\Tests\API\ManagementCode
public static function setUpBeforeClass() {
$env = self::getEnv();
$api = new Management($env['API_TOKEN'], $env['DOMAIN'], [
'timeout' => 30,
]);
self::$api = $api
->resourceServers();
self::$serverIdentifier = 'TEST_PHP_SDK_ID_' . uniqid();
}