You are here

public static function LogsTest::setUpBeforeClass in Auth0 Single Sign On 8.2

Sets up API client for entire testing class.

Return value

void

Throws

\Auth0\SDK\Exception\ApiException

File

vendor/auth0/auth0-php/tests/API/Management/LogsTest.php, line 30

Class

LogsTest
Class LogsTest. Tests the Auth0\SDK\API\Management\Logs class.

Namespace

Auth0\Tests\API

Code

public static function setUpBeforeClass() {
  $env = self::getEnv();
  $api = new Management($env['API_TOKEN'], $env['DOMAIN'], [
    'timeout' => 30,
  ]);
  self::$api = $api
    ->logs();
}